Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hey
I'm not entirely sure if you are able to change this. I'm not also entirely sure if this is how Shopify computes:
(Product Quantity * Product Price) * Discount Percentage = Final price
Which results in the 33.96.
(Product Quantity * Product Price) * Discount Percentage = Final price
( 8 * $9.70) * 0.515
$77.60 * 0.515
$33.964 or $33.96
I'd recommend you check what is being displayed at checkout as that is what determines the final price to actually be paid by the customer. If it shows $40 in Checkout, then there is something wrong in your cart.
Then there is another problem with your store. In your product page, when I click the + or - buttons of your quantity selector, the page refreshes and I'll have to start over again.
Hi @PaulMartin the check-out page seems correct it shows 40$. I think the only problem here is how shopify calculates total in cart page by this:
Ex. SKU:F02S2LL1R-005MO
Original Price : $9.70
Custom Discount : 48.5%
Discounted Price: $4.995
Calculation of (Total) by Shopify in Cart Page = discounted price * qty = 4.995 * 8 = $39.964 (that's why this value shown on cart page total)
It shows that it didn't follow the $5 discounted price for its total calculation per sku. Do you know hot to fix this?
Thank you
What theme are you using? If it's a free theme, I might be able to check the code and provide a solution for you.
And how can I trigger the 48.5% discount?
I'm using this 3rd party app (Ymq B2B & Wholesale Solution) to apply the discount.
I see.
So, what I've found is that the wholesale app you are using is changing Dawn's code and replacing it with theirs. What the app replaced is the price being displayed in cart.
Sad to say, that means that we have no control over what price will be displayed in cart.
This was how I knew it was because of the app you used.
In Dawn's original code, the price is displayed like so:
But in your cart's code, there are extra code with the trace of the app itself:
and this extra code by the app is controlling what price is displayed in the cart page - instead of Dawn controlling it.
So, to answer your question, "Do you know how to fix this?", unfortunately no. That's because the price is being controlled by the app and not by your theme.
Ok so I might need to find another app or contact the app support for this to fix? Thankyou
Yeah, but better to contact app support first, see if they can help you out.
You're welcome! 🙂
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