{** * 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) *} {block name='product_miniature_item'}
{block name='product_thumbnail'} {if $product.cover} {if !empty($product.cover.bySize.home_default.sources.avif)}{/if} {if !empty($product.cover.bySize.home_default.sources.webp)}{/if} {if !empty($product.cover.legend)}{$product.cover.legend}{else}{$product.name|truncate:30:'...'}{/if} {else} {if !empty($urls.no_picture_image.bySize.home_default.sources.avif)}{/if} {if !empty($urls.no_picture_image.bySize.home_default.sources.webp)}{/if} {/if} {/block}
{block name='quick_view'} {l s='Quick view' d='Shop.Theme.Actions'} {/block} {block name='product_variants'} {if $product.main_variants} {include file='catalog/_partials/variant-links.tpl' variants=$product.main_variants} {/if} {/block}
{block name='product_name'} {if $page.page_name == 'index'}

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

{else}

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

{/if} {/block} {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'} {$product.discount_percentage} {elseif $product.discount_type === 'amount'} {$product.discount_amount_to_display} {/if} {/if} {hook h='displayProductPriceBlock' product=$product type="before_price"} {capture name='custom_price'}{hook h='displayProductPriceBlock' product=$product type='custom_price' hook_origin='products_list'}{/capture} {if '' !== $smarty.capture.custom_price} {$smarty.capture.custom_price nofilter} {else} {$product.price} {/if} {hook h='displayProductPriceBlock' product=$product type='unit_price'} {hook h='displayProductPriceBlock' product=$product type='weight'}
{/if} {/block} {block name='product_reviews'} {hook h='displayProductListReviews' product=$product} {/block}
{include file='catalog/_partials/product-flags.tpl'}
{/block}