Shopify themes, liquid, logos, and UX
To continue receiving payouts, you need to secure your account by turning on two-step authentication. If two-step authentication is not turned on your payouts will be paused. Learn more
I am looking for some help in getting my Cart Subtotal to display correctly when there are non-taxable items (gift cards) in the cart
Currently the Cart Subtotal is shown with the following simple code:
{{ cart.total_price | times:1.1 | money }}
This works for most cases, but obviously shows an incorrect value when there are gift cards in the cart
Does anybody have any ideas on how I can code the subtotal to calculate the sum of all taxable cart lines, times it by the tax rate, add the sum of all non-taxable cart lines and display the result?
I.e. Subtotal = (total of all taxable lines x 1.1) + (total of all non-taxable lines)
User | RANK |
---|---|
119 | |
97 | |
73 | |
72 | |
46 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022