Shopify themes, liquid, logos, and UX
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)
I'm also looking for an answer for this!
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024