I'm setting up a tiered discount based on spend with our Shopify store and am looking for some help with adding 'Total Savings' to our checkout page. The issue we're running into is that when we run the Shopify script on our store, the cart discount is $0 because the Script applies the % off to each line item. While the Subtotal reflects the correct amount, I'd like to setup the logic to work like the following:
-If discount code is applied, amount is $0, display 'Total Savings' instead of 'Discount' at checkout
-If discount code is applied to cart, amount is >$0, display 'Discount' instead of 'Total Savings'
I'm just starting out on Shopify and was initially trying to edit through out checkout.liquid template, however it looks like this is just pulling in the following div for our order summary: