I have a shop with some products that have custom fields to provide for some customer input.
In the frontend, when I click the Add-to-cart button from the Category view, the product is added to the Cart (without the customer having filled in the custom fields, obviously),
but when I click the Add-to-cart button from the Product Details view I do get transferred to the Cart, but the product isn't added.
I'm kinda stuck at the moment, please help me!
http://forum.virtuemart.net/index.php?topic=128401.msg441154#msg441154
Sorry, my bad... :-[
I use VirtueMart 3.0.9 on Joomla 3.4.1
Some extra info and things I've tried so far:
- Disabled my template override (I use it for displaying the categories in the detail view, kinda like tags);
- Created a new product without any custom fields;
- The quantity plus and minus buttons don't work in detail view either (they do in category view)
sounds like a javascript error on the detail page - plenty of info on here about debugging JS
Quotesounds like a javascript error on the detail page - plenty of info on here about debugging JS
No JS errors are showing up in Firebug, suggestions anyone?
without a live url no one can help you
Category view: http://goo.gl/hmXHxA
Detail view: http://goo.gl/u6wgFL
your loading jquery twice
http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js
http://dgll.test.biblionetdrenthe.nl/media/jui/js/jquery.min.js
add to cart from cat does nothing except throw Jq errors
I removed the second JQuery script from my template and installed a fresh Joomla 3.41 site with the same Virtuemart version on the same server (for comparison). It works fine in the freshly installed site (http://j3.test.biblionetdrenthe.nl/index.php/shop/testcat).
I compared all the JS and the only difference I can see is that in the non-working site jquery.noconflict.js is loaded by Virtuemart, which isn't the case with the fresh demo site.
I removed it using unset($this->_scripts[$this->baseurl .'/components/com_virtuemart/assets/js/jquery.noconflict.js?vmver=8847']); but that didn't help.
Choosing a different template (e.g. Protostar) doesn't help either :( I'm kinda stuck...
Anyone?
Solved it myself!
I had disabled the Show Prices checkbox and it seems that was the cause of the problem. I now enabled the Show Prices checkbox and disabled all of the 'underlying' checkboxes and now the quantity box and the add to cart button are working again. :)