Author SHA1 Message Date
soulchild b87839475a Hide sale badge on collection page , for Yagi
Hide sale badge on collection page , for product that is automatic discounted on Yagi
2026-07-06 04:52:46 +00:00
+2
View File
@@ -177,6 +177,8 @@
>
{{- 'products.product.sold_out' | t -}}
</span>
{%- elsif card_product.metafields.app--168074346497.min_auto_discounted_price.value > 1 -%}
<!-- dont show sale badge if product is automatic discounted, generated by Yagi -->
{%- elsif card_product_compare_at_price > card_product_price and card_product.available -%}
<span
id="NoMediaStandardBadge-{{ section_id }}-{{ card_product.id }}"