diff --git a/sections/featured-product.liquid b/sections/featured-product.liquid index 8a9df766685..95e28b4702d 100644 --- a/sections/featured-product.liquid +++ b/sections/featured-product.liquid @@ -402,22 +402,30 @@ {%- endif -%} +{%- liquid + if product.selected_or_first_available_variant.featured_media + assign seo_media = product.selected_or_first_available_variant.featured_media + else + assign seo_media = product.featured_media + endif +-%} + {%- endif -%} +{%- liquid + if product.selected_or_first_available_variant.featured_media + assign seo_media = product.selected_or_first_available_variant.featured_media + else + assign seo_media = product.featured_media + endif +-%} +