Thank you for your reply, it worked. great
Topic summary
Goal: Show regular price, sale price, and savings on the Dawn theme cart page.
What changed:
- Edit theme code via Online Store > Themes > Edit code.
- Open main_cart_items.liquid (found by searching “cart”), around the referenced section (~line 87).
- Replace the existing price block with a provided Liquid snippet.
How it works (Liquid logic):
- If item.original_price != item.final_price:
- Display “Regular price” (strikethrough) = original_price.
- Display “Sale price” = final_price.
- Display “Price saved” = original_price minus final_price.
- Else (no per-line discount), if item.product.compare_at_price exists:
- Display “Regular price” (strikethrough) = compare_at_price.
- Display “Sale price” = original_price.
- Display “Price saved” = compare_at_price minus original_price.
- Uses Shopify Liquid variables (original_price, final_price, compare_at_price) and translation keys (products.product.price.*).
Assets:
- Screenshots show where to edit and the resulting UI; the code snippet is central.
Outcome:
- Original poster and another user confirmed the solution works. Status: resolved.
1 Like