Opencart 1.5.4:从功能模块中删除隐藏的产品

Opencart 1.5.4:从功能模块中删除隐藏的产品,opencart,Opencart,我正在使用multistore功能,但当我使用featured products模块时,我只希望在我的子域中包含某些类别。目前,我没有在sub中显示的产品显示为空白。我怎样才能摆脱它们,只展示指定的产品?谢谢。在文件中 文件catalog/controller/module/featured.php 请更换 $this->data['products'][] 到 if(!empty($product_info['status'])) $this->data['products'][

我正在使用multistore功能,但当我使用featured products模块时,我只希望在我的子域中包含某些类别。目前,我没有在sub中显示的产品显示为空白。我怎样才能摆脱它们,只展示指定的产品?谢谢。

在文件中

文件catalog/controller/module/featured.php

请更换

$this->data['products'][]

if(!empty($product_info['status'])) $this->data['products'][]