Page 1 of 1

[SOLVED] Duplicated items in cart

Posted: Fri Oct 16, 2020 11:22 pm
by AlanARG
/edit: As sw!tch mentioned, there's a thread where you can find a possible fix for this. I already applied it but I wasn't able to reproduce this bug in order to check if it was indeed fixed or not.
Head to and see for yourselves: viewtopic.php?t=211273

-

What's up guys? :)

Some customers are reporting a really frequent issue that involves duplicated items in the cart right before checking out. Some didn't even notice this and checked out with duplicated items so I had to modify their orders because the total was wrong, logically.

In order to solve this I should apply a "process of elimination" and discard from A to Z possible solutions/errors. Thing is, I don't even have a clue where to start.
Every file I modified it's recorded so I can replace them with the default one in case of bugs, should I start by replacing those files? Maybe the cart.twig/php files? That's where the issue begins. Or maybe the checkout file?

- OC version: 3.0.3.6
- My website: https://nomadebaker.com/
- My theme: https://themeforest.net/item/fortsi-ope ... e/23551830

Thanks for any insight :)

Re: Duplicated items in cart

Posted: Fri Oct 16, 2020 11:42 pm
by IP_CAM
An insight on what ? You mentioned neither OC Version, nor the Theme used,
and that, by beeing around OC for quite a while already ... ::)

Re: Duplicated items in cart

Posted: Fri Oct 16, 2020 11:58 pm
by by mona
It is not happening with default - your logic is correct.

There are two ways to consider it
1. Your way going backwards - yes cart, checkout would be a logical place to start - (and I have just remembered your OC and theme - your theme is probably a good place to start actually)
2. Disable all and enable one by one. If you can and that is not always possible, but you might find this quicker.

Re: Duplicated items in cart

Posted: Sat Oct 17, 2020 1:30 am
by sw!tch

Re: Duplicated items in cart

Posted: Sat Oct 17, 2020 1:48 am
by by mona
sw!tch wrote:
Sat Oct 17, 2020 1:30 am
See here - viewtopic.php?t=211273
:clap: to all - apologies
and it still does the same on 3.0.3.6

Re: Duplicated items in cart

Posted: Sat Oct 17, 2020 6:34 am
by AlanARG
sw!tch wrote:
Sat Oct 17, 2020 1:30 am
See here - viewtopic.php?t=211273
Completely missed that thread. I've been looking like crazy everywhere and couldn't find anything related to that. I hope it's the same issue, I applied those fix and I'll wait till customers report it again (or not). Thanks a lot!