Author SHA1 Message Date
soulchild 20bdf9d30d Use discounted price for JSON+LD structured data for product
Use discounted price for JSON+LD structured data for product
2026-07-10 08:58:13 +00:00
Axel Kee 579a16c2b2 Add original main-product.liquid 2026-07-10 16:56:51 +08:00
3 changed files with 2335 additions and 2 deletions
Vendored
BIN
View File
Binary file not shown.
File diff suppressed because it is too large Load Diff
-2
View File
@@ -177,8 +177,6 @@
> >
{{- '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 }}"