cancel
Showing results for 
Search instead for 
Did you mean: 

Cart calculating wrong product totals

SOLVED

Cart calculating wrong product totals

In the cart on our store, it's calculating the totals wrong.  If you add a product that has no options, it adds the total correct.  If you ADD the same product to the cart that has an upcharge on a product, then it changes the total for the first product to have the upcharge as well. IE: Add a $49 product to cart.  Then, add the same product but with a $10 upcharge, then the cart changes the $49 to a $59 product. Now, both products are $59.

 

Example:

https://formalfashionsinc.com/dresses/express-dresses/style-c3765np-e-value-knit-dress-ready-to-ship...

If you select, size 0 (or any other size that doesn't have an upcharge) and add to cart ($49). Then, add the same product, but size 18 (+$10).  The second product is $59 now.  Now, go to the cart.  It now made the first product you added $59 as well.

 

The problem doesn't happen if you add the product individually, it's only if there's more than one product in the cart.

 

I contacted the theme developer and they claim it's not them, for they tested with the default theme and it's still happening. I had this running on a development server before I copied it over and made it live.  I went back to the development server and it's not happening there. The only thing that's different is that on the new site, we're running the latest version of the theme (Claue) and Magento 2 (went from 2.3.5 to 2.3.5-P2).  That's why I thought it was the theme.

 

Frustrating.  Any thoughts of how I can fix?

 

Magento 2.35-P2

PHP 7.3

Extensions:

     MageWorx Product Options (latest version: 2.31.5)

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Cart calculating wrong product totals

Hello @webbs462,

 

Kindly check here https://www.mageworx.com/magento-2-advanced-product-options-suite.html#changelog and they have fixed that cart price rules issue on configurable product see my screenshot https://nimbusweb.me/nimbus-screenshots/aa0a3608d61c3b0ff2a256fe749253c7

If my answer is useful, then kit kudos and accept as solution

 

Best regards
Madhuresan

View solution in original post

3 REPLIES 3

Re: Cart calculating wrong product totals

Hello @webbs462,

 

Maybe any version problem of your installed product option extension. kindly contact them for if they having any latest version of same extension.

 

 

If you found my answer is helpful, then give kudos & accept it as solution

 

Best regards
Madhuresan

Re: Cart calculating wrong product totals

Hello @webbs462,

 

Kindly check here https://www.mageworx.com/magento-2-advanced-product-options-suite.html#changelog and they have fixed that cart price rules issue on configurable product see my screenshot https://nimbusweb.me/nimbus-screenshots/aa0a3608d61c3b0ff2a256fe749253c7

If my answer is useful, then kit kudos and accept as solution

 

Best regards
Madhuresan

View solution in original post

Re: Cart calculating wrong product totals

Thanks.  They did send me three files this morning to replace.  I replaced them and my category page went blank, all the products disappeared from view. Also, all the product details pages broke, showing 404 errors.  Luckily I just renamed the files, so I renamed them again and the site came back up.

 

The other fix they offered was to disable the DynamicOptionsBase module.  I did that and it worked. NOTE: I posted this on 9/22, the new version they released is just today, 9/23.

 

php bin/magento module:disable MageWorx_DynamicOptionsBase

 

I think I'll wait for another version of the plugin to come out before I upgrade (2.31.7 maybe). I'm just happy the site is functioning again.