Например: 549,0 евро HT (733,20 евро) - 659,88 евро TTC (733,20 евро)
Код: Выделить всё
{if (!$PS_CATALOG_MODE AND ((isset($product.show_price) && $product.show_price) || (isset($product.available_for_order) && $product.available_for_order)))}
{l s='From'}
{if isset($product.show_price) && $product.show_price && !isset($restricted_country_mode)}
{hook h="displayProductPriceBlock" product=$product type='before_price'}
{if !$priceDisplay}{convertPrice price=$product.price_tax_exc}{/if} {l s='HT.'}
{if $product.price_without_reduction > 0 && isset($product.specific_prices) && $product.specific_prices && isset($product.specific_prices.reduction) && $product.specific_prices.reduction > 0}
{hook h="displayProductPriceBlock" product=$product type="old_price"}
{displayWtPrice p= $product.price_without_reduction}
{hook h="displayProductPriceBlock" id_product=$product.id_product type="old_price"}
{if $product.specific_prices.reduction_type == 'percentage'}
-{$product.specific_prices.reduction * 100}%
{/if}
{/if}
{if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if}{l s='TTC'}
{if $product.price_without_reduction > 0 && isset($product.specific_prices) && $product.specific_prices && isset($product.specific_prices.reduction) && $product.specific_prices.reduction > 0}
{hook h="displayProductPriceBlock" product=$product type="old_price"}
{displayWtPrice p=$product.price_without_reduction}
{hook h="displayProductPriceBlock" id_product=$product.id_product type="old_price"}
{if $product.specific_prices.reduction_type == 'percentage'}
-{$product.specific_prices.reduction * 100}%
{/if}
{/if}
{hook h="displayProductPriceBlock" product=$product type="price"}
{hook h="displayProductPriceBlock" product=$product type="unit_price"}
{hook h="displayProductPriceBlock" product=$product type='after_price'}
{/if}
Но я не знаю, как это сделать. Не могли бы вы мне помочь, пожалуйста ? Вт. Версия PS — 1.6.14.
Подробнее здесь: https://stackoverflow.com/questions/453 ... ithout-tax