Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用多商店功能,但是当我使用特色产品模块时,我只想要我的子域中的某些类别。目前,我未在 sub 中显示的产品显示为空白区域。我怎样才能摆脱它们并只显示分配的产品?谢谢。
在文件中
文件目录/控制器/模块/featured.php
请更换
$this->data['products'][]
至
if(!empty($product_info['status'])) $this->data['products'][]