{assign var=showLabelRegular value=@if( regularPrice.showLabel) {true} else {false}} {assign var=showLabelOld value=@if( oldPrice.showLabel) {true} else {false}} {assign var=classLabelRegular value='@regularPrice.label.classNames'} {assign var=classLabelOld value='@oldPrice.label.classNames'}
{$product.price}
{else}{/if} {/capture} {assign var=isRegular value=true} @include("regularPrice") {elseif isset($isRelatedProduct)} {capture name=regularPrice} {if $ProdDisplayPrice AND $product.show_price == 1 AND !isset($restricted_country_mode) AND !$PS_CATALOG_MODE}{convertPrice price=$product.displayed_price}
{else}{if $priceDisplay >= 0 && $priceDisplay <= 2} {convertPrice price=$productPrice} {if isset($showLabelRegular) && $showLabelRegular} {if isset($tax_enabled) && $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} {/if}
{if $priceDisplay == 2}{convertPrice price=$unit_price} {if isset($showLabelRegular) && $showLabelRegular} {l s='per'} {$product->unity|escape:'htmlall':'UTF-8'} {/if}
{/if} {/capture} {capture name=oldPrice} {if $product->specificPrice AND $product->specificPrice.reduction}{if $priceDisplay >= 0 && $priceDisplay <= 2} {if $productPriceWithoutReduction > $productPrice} {convertPrice price=$productPriceWithoutReduction} {if $tax_enabled && $display_tax_label == 1} {if $priceDisplay == 1}{l s='tax excl.'}{else}{l s='tax incl.'}{/if} {/if} {/if} {/if}
{/if} {if $packItems|@@count && $productPrice < $product->getNoPackPrice()}{if isset($showLabelOld) && $showLabelOld} {l s='instead of'} {/if} {convertPrice price=$product->getNoPackPrice()}
{/if} {/capture} @if (positionOldPrice !== "bottom" && showOldPrice) { {assign var=isRegular value=false} @include("oldPrice") } {assign var=isRegular value=true} @include("regularPrice") @if (positionOldPrice === "bottom" && showOldPrice) { {assign var=isRegular value=false} @include("oldPrice") } {*close if for show price*} {/if} {else} {capture name=regularPrice} {if isset($showLabelRegular) && $showLabelRegular} {if isset($product.available_for_order) && $product.available_for_order && !isset($restricted_country_mode)} {if ($product.allow_oosp || $product.quantity > 0)} {l s='Available'} {elseif (isset($product.quantity_all_versions) && $product.quantity_all_versions > 0)} {l s='Product available with different options'} {else} {l s='Out of stock'} {/if} {/if} {if isset($product.online_only) && $product.online_only} {l s='Online only!'} {/if} {/if} {if !$priceDisplay}{if isset($product.price)}{convertPrice price=$product.price}{/if}{else}{convertPrice price=$product.price_tax_exc}{/if} {/capture} {capture name=oldPrice} {if isset($product.reduction) && $product.reduction} {convertPrice price=$product.price_without_reduction} {/if} {/capture} {if (!$PS_CATALOG_MODE AND ((isset($product.show_price) && $product.show_price) || (isset($product.available_for_order) && $product.available_for_order)))} {if isset($product.show_price) && $product.show_price && !isset($restricted_country_mode)} @if (positionOldPrice !== "bottom" && showOldPrice) { {assign var=isRegular value=false} @include("oldPrice") } {assign var=isRegular value=true} @include("regularPrice") @if (positionOldPrice === "bottom" && showOldPrice) { {assign var=isRegular value=false} @include("oldPrice") } {/if} {/if} {/if} {/if} {/if}