Porto 主题修改商品标签

商品标签显示与隐藏的设置

隐藏商品标签的方法,直接设置为No,反之设置为Yes。

进行系统后台找到主题配置:porto – Setting pannel–Product Label

在这段代码做打印输出:

/Users/ysq/work/chuwu/qqq.jaxpety.com/app/design/frontend/Smartwave/porto/Magento_Catalog/templates/product/list.phtml:

print_r($_product_label_config);
die();

输出结果: