更新时间:2023-11-30 10:18:28
在 product-list.tpl
中找到以下块:
{foreach from=$products item=product name=products}
添加此项以显示不含税价格:
Add this to display price without tax:
{convertPrice price=$product.price_tax_exc}
确保在开发过程中将模板编译
设置为强制编译
并将Cache
设置为No
PrestaShop 后台 -> 高级参数
-> 性能
.
Make sure that during development Template compilation
is set to Force compilation
and Cache
is set to No
in PrestaShop back-office -> Advanced Parameters
-> Performance
.