1 Commits
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
3 changed files with 2 additions and 2326 deletions
Vendored
BIN
View File
Binary file not shown.
File diff suppressed because it is too large Load Diff
+2
View File
@@ -177,6 +177,8 @@
> >
{{- 'products.product.sold_out' | t -}} {{- 'products.product.sold_out' | t -}}
</span> </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 -%} {%- elsif card_product_compare_at_price > card_product_price and card_product.available -%}
<span <span
id="NoMediaStandardBadge-{{ section_id }}-{{ card_product.id }}" id="NoMediaStandardBadge-{{ section_id }}-{{ card_product.id }}"