Show compare at prices in cart for dawn theme
Topic summary
-
Goal: Show the product’s compare-at price in the cart drawer of Shopify’s Dawn theme. This presents the higher reference price alongside the current price to highlight savings.
-
Implementation: Edit snippets/cart-drawer.liquid and find the Liquid output {{ item.original_price | money }}. Replace it with markup that outputs {{ item.variant.compare_at_price | money }} (with the
tag and class “price-item price-item–regular”) followed by {{ item.original_price | money }}, using the money filter. -
Effect: The compare_at_price is displayed crossed out as the regular price, with the actual cart price displayed next to it. This clearly communicates discounted pricing within the cart drawer.
-
Status: The requester confirmed the solution works as intended. No remaining issues or unanswered questions; discussion resolved.
-
Notes: The code snippet and Liquid variables (compare_at_price, original_price) are central to the fix.
Hello @Alexbunce1 ,
Edit snippets → cart-drawer.liquid
Search for {{ item.original_price | money }}
and replace it with this code
{{ item.variant.compare_at_price | money }} {{ item.original_price | money }}
Regards
Guleria
Thank you so much I tried so many things that didnt work and this was perfect
All the best