Hide sale badge on collection page , for Yagi #1

Open
soulchild wants to merge 1 commits from hide-sale-badge-on-collection into master
Showing only changes of commit b87839475a - Show all commits
+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 }}"