{** * Copyright since 2007 PrestaShop SA and Contributors * PrestaShop is an International Registered Trademark & Property of PrestaShop SA * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License 3.0 (AFL-3.0) * that is bundled with this package in the file LICENSE.md. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/AFL-3.0 * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@prestashop.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to https://devdocs.prestashop.com/ for more information. * * @author PrestaShop SA and Contributors * @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0) *} {if $product.show_price}
{block name='product_discount'} {if $product.has_discount}
{hook h='displayProductPriceBlock' product=$product type="old_price"} {$product.regular_price}
{/if} {/block} {block name='product_price'}
{capture name='custom_price'}{hook h='displayProductPriceBlock' product=$product type='custom_price' hook_origin='product_sheet'}{/capture} {if '' !== $smarty.capture.custom_price} {$smarty.capture.custom_price nofilter} {else} {$product.price} {/if} {if $product.has_discount} {if $product.discount_type === 'percentage'} {l s='Save %percentage%' d='Shop.Theme.Catalog' sprintf=['%percentage%' => $product.discount_percentage_absolute]} {else} {l s='Save %amount%' d='Shop.Theme.Catalog' sprintf=['%amount%' => $product.discount_to_display]} {/if} {/if}
{block name='product_unit_price'} {if $displayUnitPrice}

{$product.unit_price_full}

{/if} {/block}
{/block} {block name='product_without_taxes'} {if $priceDisplay == 2}

{l s='%price% tax excl.' d='Shop.Theme.Catalog' sprintf=['%price%' => $product.price_tax_exc]}

{/if} {/block} {block name='product_pack_price'} {if $displayPackPrice}

{l s='Instead of %price%' d='Shop.Theme.Catalog' sprintf=['%price%' => $noPackPrice]}

{/if} {/block} {block name='product_ecotax'} {if !$product.is_virtual && $product.ecotax.amount > 0}

{l s='Including %amount% for ecotax' d='Shop.Theme.Catalog' sprintf=['%amount%' => $product.ecotax.value]} {if $product.has_discount} {l s='(not impacted by the discount)' d='Shop.Theme.Catalog'} {/if}

{/if} {/block} {hook h='displayProductPriceBlock' product=$product type="weight" hook_origin='product_sheet'}
{if !$configuration.taxes_enabled} {l s='No tax' d='Shop.Theme.Catalog'} {elseif $configuration.display_taxes_label} {$product.labels.tax_long} {/if} {hook h='displayProductPriceBlock' product=$product type="price"} {hook h='displayProductPriceBlock' product=$product type="after_price"} {if $product.is_virtual == 0} {if $product.additional_delivery_times == 1} {if $product.delivery_information} {$product.delivery_information} {/if} {elseif $product.additional_delivery_times == 2} {if $product.quantity >= $product.quantity_wanted} {$product.delivery_in_stock} {* Out of stock message should not be displayed if customer can't order the product. *} {elseif $product.add_to_cart_url} {$product.delivery_out_stock} {/if} {/if} {/if}
{/if}