Virtuemart : Product not adding to cart

Akshat Goel picture Akshat Goel · May 28, 2012 · Viewed 7.6k times · Source

I have a joomla site (J2.5) running and I am using virtuemart v2.0.6

I edited the css of product details and deleted a few codes (quantity box). However, when I click add to cart button, product is not getting added to the cart.

I am stuck from past few days.

Here is the link : http://www.kidsrule.com.au/index.php/shopping-deals/view/productdetails/virtuemart_product_id/2/virtuemart_category_id/1.html

Thanks!

Answer

Pramod Kumar Sharma picture Pramod Kumar Sharma · May 28, 2012

I have gone through your site and found some js error. Either your remove js error or change the add to cart setting in virturemart configuration.At the moment you have selected Use Ajax to add, update or delete products from the cart? and the Ajax is not working due to js error, so you might changes this option to No. Then add to cart will not use the Ajax method to add product in the cart.Co can change the option in Configuration>>site>>Layoyt>>Configuration....

I am using some older version of joomla and virtuemart so the option may be in different place.

And to remove js error you can use jQuery.noConflict and replace the symbol $ with jQuery. Hopefully this will help you..