- {if !empty($product.default_image.medium)}
-
+ {if isset($product.default_image.bySize.default_xs.sources.avif)}
+
diff --git a/templates/catalog/_partials/miniatures/product.tpl b/templates/catalog/_partials/miniatures/product.tpl
index fc2614da5..0a47a0188 100644
--- a/templates/catalog/_partials/miniatures/product.tpl
+++ b/templates/catalog/_partials/miniatures/product.tpl
@@ -50,8 +50,8 @@
width="{$product.cover.bySize.default_md.width}"
height="{$product.cover.bySize.default_md.height}"
loading="lazy"
- alt="{if !empty($product.cover.legend)}{$product.cover.legend}{else}{$product.name}{/if}"
- title="{if !empty($product.cover.legend)}{$product.cover.legend}{else}{$product.name}{/if}"
+ alt="{$product.cover.legend}"
+ title="{$product.cover.legend}"
data-full-size-image-url="{$product.cover.bySize.home_default.url}"
>
diff --git a/templates/catalog/_partials/product-cover-thumbnails.tpl b/templates/catalog/_partials/product-cover-thumbnails.tpl
index f459644a5..0904b584b 100644
--- a/templates/catalog/_partials/product-cover-thumbnails.tpl
+++ b/templates/catalog/_partials/product-cover-thumbnails.tpl
@@ -110,8 +110,8 @@
width="{$image.bySize.default_xs.width}"
height="{$image.bySize.default_xs.height}"
loading="lazy"
- alt="{if !empty($image)}{$image.legend}{else}{$product.name}{/if}"
- title="{if !empty($image.legend)}{$image.legend}{else}{$product.name}{/if}"
+ alt="{$image.legend}"
+ title="{$image.legend}"
>
diff --git a/templates/catalog/_partials/product-images-modal.tpl b/templates/catalog/_partials/product-images-modal.tpl
index 409f6533a..530ee167b 100644
--- a/templates/catalog/_partials/product-images-modal.tpl
+++ b/templates/catalog/_partials/product-images-modal.tpl
@@ -13,12 +13,8 @@
class="js-modal-product-cover product-cover-modal"
width="{$product.default_image.bySize.large_default.width}"
src="{$product.default_image.bySize.large_default.url}"
- {if !empty($product.default_image.legend)}
- alt="{$product.default_image.legend}"
- title="{$product.default_image.legend}"
- {else}
- alt="{$product.name}"
- {/if}
+ alt="{$product.default_image.legend}"
+ title="{$product.default_image.legend}"
height="{$product.default_image.bySize.large_default.height}"
>
{else}
@@ -40,12 +36,8 @@
data-image-large-src="{$image.large.url}"
class="thumb js-modal-thumb"
src="{$image.medium.url}"
- {if !empty($image.legend)}
- alt="{$image.legend}"
- title="{$image.legend}"
- {else}
- alt="{$product.name}"
- {/if}
+ alt="{$image.legend}"
+ title="{$image.legend}"
width="{$image.medium.width}"
height="148"
>
diff --git a/templates/checkout/_partials/order-confirmation-table.tpl b/templates/checkout/_partials/order-confirmation-table.tpl
index 5960887de..66b198c33 100644
--- a/templates/checkout/_partials/order-confirmation-table.tpl
+++ b/templates/checkout/_partials/order-confirmation-table.tpl
@@ -11,9 +11,66 @@
{if !empty($product.default_image)}
-
+
+ {if isset($product.default_image.bySize.default_xs.sources.avif)}
+
+ {/if}
+
+ {if isset($product.default_image.bySize.default_xs.sources.webp)}
+
+ {/if}
+
+
{else}
-
+
+ {if isset($urls.no_picture_image.bySize.default_xs.sources.avif)}
+
+ {/if}
+
+ {if isset($urls.no_picture_image.bySize.default_xs.sources.webp)}
+
+ {/if}
+
+
+
{/if}
diff --git a/templates/customer/_partials/order-detail-no-return.tpl b/templates/customer/_partials/order-detail-no-return.tpl
index 6b982e5af..f31ae85f8 100644
--- a/templates/customer/_partials/order-detail-no-return.tpl
+++ b/templates/customer/_partials/order-detail-no-return.tpl
@@ -18,13 +18,67 @@
{if $product.cover}
{else}
diff --git a/templates/customer/_partials/order-detail-return.tpl b/templates/customer/_partials/order-detail-return.tpl
index 423025390..81e1a2e37 100644
--- a/templates/customer/_partials/order-detail-return.tpl
+++ b/templates/customer/_partials/order-detail-return.tpl
@@ -120,13 +120,67 @@
{if $product.cover}
-
+
+ {if isset($product.cover.bySize.default_xs.sources.avif)}
+
+ {/if}
+
+ {if isset($product.cover.bySize.default_xs.sources.webp)}
+
+ {/if}
+
+
+
{else}
-
+
+ {if isset($urls.no_picture_image.bySize.default_xs.sources.avif)}
+
+ {/if}
+
+ {if isset($urls.no_picture_image.bySize.default_xs.sources.webp)}
+
+ {/if}
+
+
+
{/if}