<?xml version="1.0"?>
<t name="Shop Product Images" t-name="website_sale.shop_product_images">
        <t t-set="product_images" t-value="product_variant._get_images() if product_variant else product._get_images()"/>
        <t t-set="ribbon" t-value="product_variant.sudo().variant_ribbon_id or product.sudo().website_ribbon_id"/>
        <t t-set="bg_color" t-value="ribbon['bg_color'] or ''"/>
        <t t-set="text_color" t-value="ribbon['text_color']"/>
        <t t-set="bg_class" t-value="ribbon._get_position_class()"/>
        <t t-call="website_sale.shop_product_#{website.product_page_image_layout}"/>
    </t>

    