VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: kaizendeep on February 04, 2016, 04:56:21 AM

Title: [SOLVED] Quantity Box & Add to cart popup bug?
Post by: kaizendeep on February 04, 2016, 04:56:21 AM
Okay here's something i've come across: If i place the cursor in the quantity box and press "return / enter", the popup for "product added to cart" comes up... except nothing gets added to cart.

However on clicking the add to cart button, the product will actually get added to the cart.

So far this has been happening on all VM 3.0.12 J3.4.8 installations, and on Safari, Firefox and Chrome.

Can't find this across the forums, any idea for a fix, preferably one where the popup doesn't appear when hitting enter while the cursor is in the quantity box?
Title: Re: Quantity Box & Add to cart popup bug?
Post by: jenkinhill on February 04, 2016, 12:46:02 PM
Sounds like a template/js problem. But without a URL we can only guess.......
Title: Re: Quantity Box & Add to cart popup bug?
Post by: kaizendeep on February 04, 2016, 14:28:13 PM
Whoops here's two samples:

http://www.babydoc.com.my/index.php/shop/babydoc/bio-cream-detail
http://www.crunchyfrogpro.com/test/cassamia/index.php/products/filing-cabinets/ab-filing-cabinet-detail

Happens even when i switch to the default protostar template.
Title: Re: Quantity Box & Add to cart popup bug?
Post by: Jörgen on February 04, 2016, 14:55:53 PM
Both works for me, Explorer 11

Regards

Jörgen @ Kreativ Fotografi
Title: Re: Quantity Box & Add to cart popup bug?
Post by: jenkinhill on February 04, 2016, 15:17:32 PM
Placing the cursor in the quantity box and hitting return does submit the order to the cart, and in my 3 test installs using default VirtueMart templates the products are correctly added to the cart.

I just checked your sites, and using that method was successfully able to add biocream products to the cart, and on the other site I added a beige filing cabinet to the cart.  But of course, that is not normal shopper activity!

Title: Re: Quantity Box & Add to cart popup bug?
Post by: VMTemplates.net on February 04, 2016, 17:45:56 PM
Hi,

it could be a network issue - did you checked that using different broadband?
Works very well for me on Safari, Firefox, Chrome, Opera and IE 7/8/9/10

Also, try to clear your web browser cache memory - this sometimes may solve unsolvable ;)
Title: Re: Quantity Box & Add to cart popup bug?
Post by: kaizendeep on February 05, 2016, 06:52:19 AM
Thanks for all the replies, they helped me to narrow down the problem. It's not a bug in VM, but in my computer.

Cleared cache, changed networks, restarted but its still there.. But works fine on other computers.

Gotta go perform an exorcism on this thing now...

Once again, thanks everyone! :)