Skip to content

Commit

Permalink
fix missing add to wishlist button
Browse files Browse the repository at this point in the history
  • Loading branch information
SharakPL committed Jan 31, 2024
1 parent 2262c67 commit 7d37dfd
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions templates/catalog/_partials/miniatures/product.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,17 @@
{$componentName = 'product-miniature'}

{block name='product_miniature_item'}
<article class="{$componentName} js-{$componentName} thumbnail-container {if !empty($productClasses)} {$productClasses}{/if}" data-id-product="{$product.id_product}" data-id-product-attribute="{$product.id_product_attribute}">
<article
class="{$componentName} js-{$componentName}{if !empty($productClasses)} {$productClasses}{/if}"
data-id-product="{$product.id_product}"
data-id-product-attribute="{$product.id_product_attribute}"
>
<div class="card">
<a href="{$product.url}" class="{$componentName}__link">
{include file='catalog/_partials/product-flags.tpl'}

{block name='product_miniature_image'}
<div class="{$componentName}__image-container">
<div class="{$componentName}__image-container thumbnail-container">
{if $product.cover}
<picture>
{if isset($product.cover.bySize.default_md.sources.avif)}
Expand Down Expand Up @@ -102,7 +106,7 @@

{block name='quick_view_touch'}
<button class="{$componentName}__quickview_touch btn js-quickview" data-link-action="quickview">
<i class="material-icons">&#xE417;</i>
<i class="material-icons">&#xE417;</i>
</button>
{/block}
</div>
Expand Down

0 comments on commit 7d37dfd

Please sign in to comment.