我想知道如何检查我们是否有网格或列表
\template\bundle\catalog\product\price.phtml
我想根据模式(网格/列表)设置格式价格,在 list.phtml 中我们可以通过以下方式检查模式类型
<?php if($this->getMode()!='grid'): ?>
但在 price.phtml 中,此方法无效,谢谢您的帮助
我想知道如何检查我们是否有网格或列表
\template\bundle\catalog\product\price.phtml
我想根据模式(网格/列表)设置格式价格,在 list.phtml 中我们可以通过以下方式检查模式类型
<?php if($this->getMode()!='grid'): ?>
但在 price.phtml 中,此方法无效,谢谢您的帮助