Jump to content

у меня товар горит нулем


Recommended Posts

<span itemprop="price" class="price product-price">

{if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if}

</span>

<meta itemprop="priceCurrency" content="{$currency->iso_code}" />

{if 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"}

<span class="old-price product-price">

{displayWtPrice p=$product.price_without_reduction}

</span>

{if $product.specific_prices.reduction_type == 'percentage'}

<span class="price-percent-reduction">-{$product.specific_prices.reduction * 100}%</span>

{/if}

{/if}

{hook h="displayProductPriceBlock" product=$product type="price"}

{hook h="displayProductPriceBlock" product=$product type="unit_price"}

{/if}

</div>

{/if}

{if isset($product.new) && $product.new == 1}

<a class="new-box" href="{$product.link|escape:'html':'UTF-8'}">

<span class="new-label">{l s='New'}</span>

</a>

{/if}

{if isset($product.on_sale) && $product.on_sale && isset($product.show_price) && $product.show_price && !$PS_CATALOG_MODE}

<a class="sale-box" href="{$product.link|escape:'html':'UTF-8'}">

<span class="sale-label">{l s='Sale!'}</span>

</a>

{/if}

</div>

{hook h="displayProductDeliveryTime" product=$product}

{hook h="displayProductPriceBlock" product=$product type="weight"}

</div>

<div class="right-block">

<h5 itemprop="name">

{if isset($product.pack_quantity) && $product.pack_quantity}{$product.pack_quantity|intval|cat:' x '}{/if}

<a class="product-name" href="{$product.link|escape:'html':'UTF-8'}" title="{$product.name|escape:'html':'UTF-8'}" itemprop="url" >

{$product.name|truncate:45:'...'|escape:'html':'UTF-8'}

</a>

</h5>

{hook h='displayProductListReviews' product=$product}

<p class="product-desc" itemprop="description">

{$product.description_short|strip_tags:'UTF-8'|truncate:360:'...'}

</p>

{if (!$PS_CATALOG_MODE AND ((isset($product.show_price) && $product.show_price) || (isset($product.available_for_order) && $product.available_for_order)))}

<div itemprop="offers" itemscope itemtype="http://schema.org/Offer" class="content_price">

{if isset($product.show_price) && $product.show_price && !isset($restricted_country_mode)}

<span itemprop="price" class="price product-price">

{if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if}

</span>

<meta itemprop="priceCurrency" content="{$currency->iso_code}" />

{if 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"}

<span class="old-price product-price">

{displayWtPrice p=$product.price_without_reduction}

</span>

Link to comment
Share on other sites

А можно может блок валюты и цен заменить по умолчанию. Скопировать со стандартного шаблона чтобы весь сайт не переделывать?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...