News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Cart product key lost?

Started by c4ris, June 03, 2013, 21:37:38 PM

Previous topic - Next topic

c4ris

Hi, I think I found a pretty big bug. My site is using VM 2.0.20b.

Steps to reproduce:

1. Add to cart any product with a custom field (mine has a textinput).
2. Proceed to checkout like normal.
3. At the final checkout page before confirming the order, choose to continue shopping instead.
4. Go back to cart.
5. Observe: Custom field no longer shows in cart details.

When I played with debugging, I noticed that $cart->products changes the array key and that's what breaks everything. Instead of having a key like "9::12,;1", the key becomes "0" as if the key is lost somewhere.

Milbo

I checked with textinput with the latest version 2.0.21c, seems fixed.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/