Authored by cailing

奥莱过滤新品标签

... ... @@ -202,7 +202,11 @@ class SearchController extends AbstractAction
$this->setTitle($condition['title']);
$this->setNavHeader($condition['title'], true, SITE_MAIN);
}
if(isset($condition['outlets']) && $condition['outlets'] === '1'){
foreach($data['goodList']['new'] as $outletskey => $outletsval){
$data['goodList']['new'][$outletskey]['tags']['is_new'] = false;
}
}
$this->_view->display('list', $data);
}
... ...