{* * @Module Name: Leo Feature * @Website: leotheme.com.com - prestashop template provider * @author Leotheme * @copyright 2007-2018 Leotheme * @description: Leo feature for prestashop 1.7: ajax cart, review, compare, wishlist at product list *} {if $product_price_attribute.show_price} {if $product_price_attribute.has_discount} {hook h='displayProductPriceBlock' product=$product_price_attribute type="old_price"} {l s='Regular price' mod='leofeature'} {$product_price_attribute.regular_price} {if $product_price_attribute.discount_type === 'percentage'} {$product_price_attribute.discount_percentage} {elseif $product_price_attribute.discount_type === 'amount'} {$product_price_attribute.discount_amount_to_display} {/if} {/if} {hook h='displayProductPriceBlock' product=$product_price_attribute type="before_price"} {l s='Price' mod='leofeature'} {$product_price_attribute.price} {hook h='displayProductPriceBlock' product=$product_price_attribute type='unit_price'} {hook h='displayProductPriceBlock' product=$product_price_attribute type='weight'} {/if}