From 9c1226fa866cf8c22fcdca7a1a7b35c920587505 Mon Sep 17 00:00:00 2001 From: Axel Date: Thu, 25 Jun 2026 16:17:40 +0800 Subject: [PATCH] product card badge --- .DS_Store | Bin 0 -> 6148 bytes snippets/product-card-badge.liquid | 23 +++++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 .DS_Store create mode 100644 snippets/product-card-badge.liquid diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..e34d9758e91e7f778503d287bbc0b9f58f9eb852 GIT binary patch literal 6148 zcmeHKK~BUl476bnmALGI1IK)!KPap6f_?xkMS$4SO1s>9=Q%urA8}?THmfb$0|$f< zva4jA#CDRAn#3ZatLL^9S&B%3LR2aw3NE*YtmVY|mfb-!A83b$$CSyWzfUzRY} zf##~7VyL;JKe=7yI2xL}s3#xlGk+#8nrBD+l+8se!>EISU|`C?sWq3p|F7`N%qIC$ zmuLk8!N5ObKo@mWudpe{{ 'products.product.sold_out' | t }} +{%- endunless -%} +{%- if product_card_product_compare_at_price > product_card_product_price and product_card_product.available -%} +{{ 'products.product.on_sale' | t }} +{%- endif -%} +{%- if product_card_product.metafields.theme.preorder and product_card_product.available -%} + + {{ 'products.product.pre_order' | t }} + +{%- endif -%}