From cd599c443b503058e7fe041f411e0fc87cc18338 Mon Sep 17 00:00:00 2001 From: soulchild Date: Fri, 29 Aug 2025 17:03:54 +0000 Subject: [PATCH] Make price and compare at price side by side Make price and compare at price side by side --- product-card.liquid | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/product-card.liquid b/product-card.liquid index c0a2dad..798bf53 100644 --- a/product-card.liquid +++ b/product-card.liquid @@ -138,15 +138,23 @@ Supported variables {% assign variant_compare_at_price = v.compare_at_price %} {% endif %} {% endif %} -
- {{ variant_price | money }} -
+
+
+ {{ variant_price | money }} +
- {% if variant_compare_at_price %} - - {{ variant_compare_at_price | money }} - - {% endif %} + {% if variant_compare_at_price %} + + {{ variant_compare_at_price | money }} + + {% endif %} +
{%- endif -%}