Author Topic: Prodcts get ordered which were not in the cart  (Read 237 times)

dirkb

  • Jr. Member
  • **
  • Posts: 74
Prodcts get ordered which were not in the cart
« 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.

dirkb

  • Jr. Member
  • **
  • Posts: 74
Re: Prodcts get ordered which were not in the cart
« Reply #1 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

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3978
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: Prodcts get ordered which were not in the cart
« Reply #2 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.