我在购物车摘要中显示产品特征,使用以下代码在shopping-cart-product-line.tpl
的结帐内出错,但出现错误。在Prestashop中显示推车摘要中的产品特征
{foreach from=$product.features item=feature name=features}
{if $feature.id_feature == 9}
{$features.value|escape:'htmlall':'UTF-8'}
{/if}
{/foreach}
我需要用CartController.php
做什么吗?
错误 注意:未定义指数:在 路径/工具值/ smarty的/ sysplugins/smarty_internal_templatebase.php(157):EVAL()'上线d代码89
你能PLZ添加错误信息? –
ohk我刚加入 –