{# ThemeWare "Product badges" container #} {# Create container and include badges #} {# INFO: Inheritance changed in SW6.4 so this file must to have the full code and can't be extended. #} {# {% sw_extends '@Storefront/storefront/component/product/card/badges.html.twig' %} #} {# ---------------- START: SET TEMPLATE VARS ---------------- #} {# ThemeWare: Set theme variables #} {% set twtProductBadgesDiscountBadgeType = theme_config('twt-product-badges-discount-badge-type') %} {% set twtProductBadgesShippingFreeBadgeShow = theme_config('twt-product-badges-shipping-free-badge-show') %} {% set twtProductBadgesSoldBadgeShow = theme_config('twt-product-badges-sold-badge-show') %} {% set twtProductBadgesStockBadgeShow = theme_config('twt-product-badges-stock-badge-show') %} {# ---------------- END: SET TEMPLATE VARS ---------------- #} {% block component_product_badges %}