Re: Incorrect Total Amount displayed on Cart Page

Incorrect Total Amount displayed on Cart Page

remz1234
Excursionist
33 0 6
The discounted price is shown, but the total amount is incorrect. Please see the attached screenshot.

For example, sku: F02S2LL1R-005MO has an original price of $9.70 minus the 48.5% custom pricing which makes the sku $5.00 per unit. The quantity added is 8, so the total amount should be $40.00 not $39.96
 
How can we resolve this? Thank you
 
My Store URL : www.brinnova.com
Password : 123
 
 
remz1234_2-1724120134782.png

 

Replies 11 (11)

PaulMartin
Shopify Partner
566 57 136

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. 

[email protected]
Feel free to email me! 😄
I'm open to conversations or work ʕ •ᴥ•ʔ
remz1234
Excursionist
33 0 6

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

 

PaulMartin
Shopify Partner
566 57 136

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.

[email protected]
Feel free to email me! 😄
I'm open to conversations or work ʕ •ᴥ•ʔ
remz1234
Excursionist
33 0 6

Hi @PaulMartin I'm using Dawn Theme. 

PaulMartin
Shopify Partner
566 57 136

And how can I trigger the 48.5% discount?

[email protected]
Feel free to email me! 😄
I'm open to conversations or work ʕ •ᴥ•ʔ
remz1234
Excursionist
33 0 6

I'm using this 3rd party app (Ymq B2B & Wholesale Solution) to apply the discount.

PaulMartin
Shopify Partner
566 57 136

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.

[email protected]
Feel free to email me! 😄
I'm open to conversations or work ʕ •ᴥ•ʔ
PaulMartin
Shopify Partner
566 57 136

This was how I knew it was because of the app you used.

In Dawn's original code, the price is displayed like so:

PaulMartin_0-1724144139719.png

But in your cart's code, there are extra code with the trace of the app itself:

PaulMartin_1-1724144180185.png

and this extra code by the app is controlling what price is displayed in the cart page - instead of Dawn controlling it.

[email protected]
Feel free to email me! 😄
I'm open to conversations or work ʕ •ᴥ•ʔ
PaulMartin
Shopify Partner
566 57 136

@remz1234 

 

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.

[email protected]
Feel free to email me! 😄
I'm open to conversations or work ʕ •ᴥ•ʔ
remz1234
Excursionist
33 0 6

Ok so I might need to find another app or contact the app support for this to fix? Thankyou

PaulMartin
Shopify Partner
566 57 136

Yeah, but better to contact app support first, see if they can help you out.

You're welcome! 🙂

[email protected]
Feel free to email me! 😄
I'm open to conversations or work ʕ •ᴥ•ʔ