{** * 2007-2020 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.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/osl-3.0.php * 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 http://www.prestashop.com for more information. * * @author PrestaShop SA * @copyright 2007-2020 PrestaShop SA * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA *} {if isset($product.product_settings)} {assign var="pp" value=$product.product_settings} {/if} {assign var="pkconf" value=unserialize(Configuration::get('PKTHEME_CONFIG')|html_entity_decode)} {assign var="pka_manufacturer" value=Manufacturer::getNameById($product.id_manufacturer)} {assign var="type" value='home_default'} {if isset($image_size)} {assign var="type" value=$image_size} {else} {if isset($pkconf.pm_image_type)} {assign var="type" value=$pkconf.pm_image_type} {/if} {/if} {block name='product_miniature_item'}
{if isset($product.condition.type)} {/if} {if $pka_manufacturer}
{/if}
{block name='product_thumbnail'} {if $product.cover} {if $product.cover} {include file='catalog/_partials/product-image.tpl' image=$product.cover type=$type} {if $pkconf.pm_hover_image} {foreach from=$product.images item=image} {if (($image.cover != 1) && ($product.cover.id_image != $image.id_image))} {include file='catalog/_partials/product-image.tpl' image=$image type=$type} {break} {/if} {/foreach} {/if} {/if} {else} {/if} {/block} {block name='product_buy'}
{if $pkconf.pm_qw_button} {/if} {if $pkconf.pm_atc_button && ($page.page_name != 'product')} {if (($product.quantity > 0) && ($product.available_for_order == 1) && ($product.customizable == 0) && !$configuration.is_catalog) || $product.add_to_cart_url} {if ( ((Configuration::get('PS_ATTRIBUTE_CATEGORY_DISPLAY') == 1) && (!empty($product.main_variants))) || (Configuration::get('PS_ATTRIBUTE_CATEGORY_DISPLAY') == 1 || empty($product.main_variants)) )}
{block name='product_add_to_cart'} {include file='catalog/_partials/product-add-to-cart-mini.tpl'} {/block}
{/if} {else} {/if} {/if} {hook h='displayProductButton' product_id=$product.id}
{/block} {if $pkconf.pm_countdown} {include file='catalog/_partials/miniatures/countdown.tpl'} {/if}
{if $pkconf.pm_brand} {if $pka_manufacturer} {block name='product_manufacturer'}
{$pka_manufacturer}
{/block} {/if} {/if} {if $pkconf.pm_title} {block name='product_name'}

{if (is_array($product.name))}{$product.name.1}{else}{$product.name}{/if}

{/block} {/if} {if $pkconf.pm_price && Configuration::showPrices() == true} {block name='product_price_and_shipping'} {if $product.show_price}
{if $product.has_discount} {hook h='displayProductPriceBlock' product=$product type="old_price"} {$product.regular_price} {if $product.discount_type === 'percentage'} {if (isset($product.discount_percentage))} {$product.discount_percentage} {/if} {elseif $product.discount_type === 'amount'} {if (isset($product.discount_amount_to_display))} {$product.discount_amount_to_display} {/if} {/if} {/if} {hook h='displayProductPriceBlock' product=$product type="before_price"} {$product.price} {hook h='displayProductPriceBlock' product=$product type='unit_price'} {hook h='displayProductPriceBlock' product=$product type='weight'}
{/if} {/block} {/if} {if $pkconf.pm_desc} {block name='product_description_short'}
{$product.description_short nofilter}
{/block} {/if} {capture name='displayProductListReviews'}{hook h='displayProductListReviews' product=$product}{/capture} {if $smarty.capture.displayProductListReviews}
{hook h='displayProductListReviews' product=$product scheme='1'}
{/if}
{if $pkconf.pm_labels} {block name='product_flags'}
    {foreach from=$product.flags item=flag}
  • {$flag.label}
  • {/foreach} {if $product.has_discount} {if $product.discount_type === 'percentage'} {if !empty($product.discount_percentage)}
  • {$product.discount_percentage}
  • {/if} {else} {if !empty($product.discount_amount_to_display)}
  • {$product.discount_amount_to_display}
  • {/if} {/if} {/if}
{/block} {/if} {if $pkconf.pm_colors}
{block name='product_variants'} {include file='catalog/_partials/variant-links.tpl' variants=$product.main_variants} {/block}
{/if}
{/block}