Prestashop PrestaShop Kdv Dahil ve Hariç Göstermek
Bul :
<p class="our_price_display"> {if $priceDisplay >= 0 && $priceDisplay <= 2} <span id="our_price_display">{convertPrice price=$productPrice}</span> <!--{if $tax_enabled && ((isset($display_tax_label) && $display_tax_label == 1) OR !isset($display_tax_label))} {if $priceDisplay == 1}{l s='tax excl.'}{else}{l s='tax incl.'}{/if} {/if}--> {/if} </p>
Değiştir :
{if !$priceDisplay || $priceDisplay == 2} {assign var='productPrice' value=$product->getPrice(true, $smarty.const.NULL, $priceDisplayPrecision)} {assign var='productPriceWithoutReduction' value=$product->getPriceWithoutReduct(false, $smarty.const.NULL)} {elseif $priceDisplay == 1} {assign var='productPrice' value=$product->getPrice(true, $smarty.const.NULL, $priceDisplayPrecision)} {assign var='productPriceWithoutReduction' value=$product->getPriceWithoutReduct(true, $smarty.const.NULL)} {/if} <p class="our_price_display"> {if $priceDisplay >= 0 && $priceDisplay <= 2} {if $productPrice == 0} <span class="pretaxe_price">£ POA</span> {else} <span id="pretaxe_price"> <span id="pretaxe_price_display">{convertPrice price=$productPriceWithoutReduction}</span> {l s='tax excl.'} </span><br /> <span id="our_price_display">{convertPrice price=$productPrice}</span> {l s='tax inc.'} {/if} {/if} </p>