VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: dirkb on June 21, 2019, 11:31:20 AM

Title: Prodcts get ordered which were not in the cart
Post by: dirkb on June 21, 2019, 11:31:20 AM
Hello. Using latest Joomla 3.9.8 and VM 3.4.2

Having a curious issue. Any expert who can point me in the right direction ?
Updated VM from 3.0.18 -> 3.4.2. New Template etc.

After Update we rebuild a few products, deleted some, changed SKU (inside Virtuemart) ...  nothing unusual.
When Testing I suddenly realize, I have more products in my order than I actually ordered or had in the cart ?
The extra products show up after order is confirmed, in the "view order online" and the "confirmation email".
Its random, sometimes the price of the order gets added, sometimes they dont add up, no specific products I could single out ?!
I checked SKUs, they are different, I switched Template to Beez3, disabling all Template / Virtuemart overrides etc. .. same behaviour.

Database ?

Can somebody point me in the right direction here ? Driving me insane.
Title: Re: Prodcts get ordered which were not in the cart
Post by: dirkb on June 21, 2019, 12:24:29 PM
found a post with the same issue some time back

through import the order items probably overlapped or something

database - delete order items and it works

https://forum.virtuemart.net/index.php?topic=139190.0
Title: Re: Prodcts get ordered which were not in the cart
Post by: Studio 42 on June 21, 2019, 15:47:28 PM
Was this product not added before when you was logged in ?
The cart is saved by virtuemart in a table and when you login again, the items are added to current cart.