{* * 2017-2019 Zemez * * JX Deal of Day * * NOTICE OF LICENSE * * This source file is subject to the General Public License (GPL 2.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/GPL-2.0 * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade the module to newer * versions in the future. * * @author Zemez (Sergiy Sakun) * @copyright 2017-2019 Zemez * @license http://opensource.org/licenses/GPL-2.0 General Public License (GPL 2.0) *}

{l s='Deal of the day' mod='jxdaydeal'}

{if isset($daydeal_products) && $daydeal_products} {foreach from=$daydeal_products item=product name=product}
{block name='product_thumbnail'} {$product.info.cover.legend} {if isset($daydeal_products_extra[$product.info.id_product]["label"]) && $daydeal_products_extra[$product.info.id_product]["label"]} {$daydeal_products_extra[$product.info.id_product]["label"]|escape:'htmlall':'UTF-8'} {/if} {/block}
{block name='product_name'}

{$product.info.name|truncate:30:'...'}

{/block} {block name='product_price_and_shipping'} {if $product.info.show_price}
{if $product.info.has_discount} {hook h='displayProductPriceBlock' product=$product.info type="old_price"} {$product.info.regular_price} {if $product.info.discount_type === 'percentage'} {$product.info.discount_percentage} {/if} {/if} {hook h='displayProductPriceBlock' product=$product.info type="before_price"} {$product.info.price} {hook h='displayProductPriceBlock' product=$product.info type='unit_price'} {hook h='displayProductPriceBlock' product=$product.info type='weight'}
{/if} {/block}
{block name='product_flags'}
    {foreach from=$product.info.flags item=flag}
  • {$flag.label}
  • {/foreach}
{/block}
Szybki poglÄ…d {block name='product_variants'} {if $product.info.main_variants} {include file='catalog/_partials/variant-links.tpl' variants=$product.info.main_variants} {/if} {/block}
{/foreach} {else}

{l s='No special products at this time.' mod='jxdaydeal'}

{/if}