diff --git a/templates/catalog/_partials/miniatures/brand.tpl b/templates/catalog/_partials/miniatures/brand.tpl index 6e42b12e..e8983cfa 100644 --- a/templates/catalog/_partials/miniatures/brand.tpl +++ b/templates/catalog/_partials/miniatures/brand.tpl @@ -25,18 +25,20 @@ {block name='brand_miniature_item'}
  • - - - {if !empty($brand.image.bySize.small_default.sources.avif)}{/if} - {if !empty($brand.image.bySize.small_default.sources.webp)}{/if} - {if !empty($brand.image.legend)}{$brand.image.legend}{else}{$brand.name}{/if} - - + {if !empty($brand.image.bySize.small_default.url)} + + + {if !empty($brand.image.bySize.small_default.sources.avif)}{/if} + {if !empty($brand.image.bySize.small_default.sources.webp)}{/if} + {if !empty($brand.image.legend)}{$brand.image.legend}{else}{$brand.name}{/if} + + + {/if}

    {$brand.name}

    diff --git a/templates/catalog/_partials/miniatures/supplier.tpl b/templates/catalog/_partials/miniatures/supplier.tpl index a1549260..d7356cc5 100644 --- a/templates/catalog/_partials/miniatures/supplier.tpl +++ b/templates/catalog/_partials/miniatures/supplier.tpl @@ -25,18 +25,20 @@ {block name='supplier_miniature_item'}
  • - - - {if !empty($supplier.image.bySize.small_default.sources.avif)}{/if} - {if !empty($supplier.image.bySize.small_default.sources.webp)}{/if} - {if !empty($supplier.image.legend)}{$supplier.image.legend}{else}{$supplier.name}{/if} - - + {if !empty($supplier.image.bySize.small_default.url)} + + + {if !empty($supplier.image.bySize.small_default.sources.avif)}{/if} + {if !empty($supplier.image.bySize.small_default.sources.webp)}{/if} + {if !empty($supplier.image.legend)}{$supplier.image.legend}{else}{$supplier.name}{/if} + + + {/if}

    {$supplier.name}