VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: dylanphelan on July 02, 2012, 23:58:19 PM

Title: Add to cart not working
Post by: dylanphelan on July 02, 2012, 23:58:19 PM
Hi

Please take a look at http://www.ecohub.co.za/shop/juicers

try 'add to cart'.

It just directs the user to the CART page, but says 'cart is empty'.

This seems to be since the 2.08a update. Not sure if it is VM or my template.

thanks
Title: Re: Add to cart not working
Post by: Rajiii4u on July 03, 2012, 13:36:09 PM
[prat]Check your product category configuration for the "Default Number of Products per Row " [/prat]
Title: Re: Add to cart not working
Post by: dylanphelan on July 03, 2012, 13:57:45 PM
I have just tried that.

It fixes the 'division by 0' error, but not the ADD TO CART problem.
Title: Re: Add to cart not working
Post by: dylanphelan on July 03, 2012, 14:02:42 PM
When I enable VM jquery it works, but now i have so many different jquery libraries loading.
Title: Re: Add to cart not working
Post by: jenkinhill on July 03, 2012, 19:20:12 PM
You can use this plugin to manage jQuery - http://extensions.joomla.org/extensions/core-enhancements/performance/jquery-scripts/12995
Title: Re: Add to cart not working
Post by: dylanphelan on July 04, 2012, 23:23:24 PM
Thanks I have installed that plugin now. I was using Jquery Easy - both seem to fix the Add to cart issue, but now I have a problem with the lightbox.
All my product images load at the same time, http://www.ecohub.co.za/shop/juicers/oscar-juicer-da900-details

Aren't these issues related?

thanks!
Title: Re: Add to cart not working
Post by: jenkinhill on July 05, 2012, 00:16:54 AM
Lightbox (actually facebox) uses jQuery, but there can be conflicts if another similar script is loaded
Title: Re: Add to cart not working
Post by: dylanphelan on July 05, 2012, 08:51:38 AM
Ok thanks. So is Jquery integrator that you recommended or Jquery Easy not expected to fix this?
Title: Re: Add to cart not working
Post by: jenkinhill on July 05, 2012, 11:25:35 AM
It cannot fix everything.  :)

It may be esier when jQury based Joomla 3 is introduced. I believe it is better to select templates, addons etc that work together from the start rather than try to fix conflicts later.
Title: Re: Add to cart not working
Post by: dylanphelan on July 05, 2012, 11:37:06 AM
thanks. turns out that it wasn't an error as such, but a feature of the VM template that I am using. It's loads all the product images with a carousal type of effect.