Prestashop图层购物车:无税添加总计

时间:2015-05-22 15:01:10

标签: prestashop layer cart

我尝试添加以下代码来在prestashop的图层购物车中添加不含税的行

<div class="layer_cart_row">
                <strong class="dark">
                    {l s='Total products' mod='blockcart'}
                    {if $display_tax_label}
                            {l s='(tax excl.)' mod='blockcart'}
                    {/if}
                </strong>
                <span class="ajax_block_products_total">
                    {if $cart_qties > 0}
                        {convertPrice price=$product.price_tax_exc }
                    {/if}
                </span>
            </div>

显示该行,但显示的价格不含税(即:HT)。

错误必须来自convertPrice系列,但我不知道该寻找什么......

enter image description here

由于

1 个答案:

答案 0 :(得分:0)

更改blockcart.tpl

中的第529行

自:

{l s='Total shipping' mod='blockcart'}&nbsp;{l s='(tax excl.)' mod='blockcart'}

要:

{l s='Total shipping' mod='blockcart'}&nbsp;{l s='(tax incl.)' mod='blockcart'}
相关问题