Post by airbrush » Fri Jul 21, 2023 4:03 pm

im using version 3.0.2.0 its not a new install but for some reason the last few weeks its doubling up on a couple of items in the shopping cart by itself, i cant replicate it so i have no idea how its happening, has anyone else had it?

New member

Posts

Joined
Fri Mar 18, 2011 5:38 am

Post by ADD Creative » Fri Jul 21, 2023 5:34 pm

If it's duplicating when placing the order then it could be this known bug. Ignore the bit about 15+ items, it can happen with any number, it comes down to how quick your web server and database respond.
https://github.com/opencart/opencart/issues/7375

The simplest workaround is probably the following.
https://github.com/ADDCreative/opencart ... 7b357a7ce2

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by airbrush » Fri Jul 21, 2023 5:55 pm

that looks like its when they leave and come back but this is happening as they are on the website they arent leaving

New member

Posts

Joined
Fri Mar 18, 2011 5:38 am

Post by ADD Creative » Fri Jul 21, 2023 5:59 pm

No it's when the customer has items in their cart and then goes to checkout. At the order stage some item are added twice to the cart and order. It's has nothing to do with leaving the website.

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by airbrush » Mon Jul 24, 2023 3:04 pm

it says it when they register but im getting this with regular customers who have been on there for years,

New member

Posts

Joined
Fri Mar 18, 2011 5:38 am

Post by ADD Creative » Mon Jul 24, 2023 3:56 pm

What version or PHP, what theme and what extensions are you using? Anything that changes the cart or the checkout.

Does it happen only with registered customers or guest customers as well?

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by airbrush » Tue Jul 25, 2023 5:36 am

I dont use guest checkout , its opencart 3.0.2.0 php version 7.3 the theme is the standard one , its been working with no problem for a few years, its also started printing an extra blank sheet when i print the orders

New member

Posts

Joined
Fri Mar 18, 2011 5:38 am

Post by ADD Creative » Tue Jul 25, 2023 4:33 pm

When does the doubling up of items get noticed, before checkout, at checkout or only once an order is placed.

One thing that can also cause the issue is. A registered customer having products in their cart then being logged out. If they then add the products to their cart again while logged out. Then then login, the two cart#s contents will be added together.

You could also look at the web access log to see if if there are any patterns, such as the order things are done or web browser and device used.

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by airbrush » Tue Jul 25, 2023 11:37 pm

we cant duplicate it and they dont know when it happens but it is before they check out. people its happened to have said they log in put items in the cart then check out and its doubled some items

New member

Posts

Joined
Fri Mar 18, 2011 5:38 am
Who is online

Users browsing this forum: No registered users and 2 guests