VirtueMart Forum

VirtueMart 2 + 3 => Product creation => Topic started by: dawghart on December 15, 2012, 08:38:54 am

Title: Jquery issue...products not adding to cart
Post by: dawghart on December 15, 2012, 08:38:54 am
Joomla 2.5.8 virtuemart 2.0.14... i have tried everything suggested in the posts that i can find still no go .... whenever i click add to cart nothing happens so i disable vm jquery then i get redirected to empty cart.... i ant figure it out i have disable google jquery library also
Title: Re: Jquery issue...products not adding to cart
Post by: bytelord on December 15, 2012, 11:42:00 am
Hello,

Have answered too many times, any live url?

Use firebug to examine your site code and styling .. also for checking js conflicts ...
http://forum.virtuemart.net/index.php?topic=102850.0

Javascript conflicts:
http://dev.virtuemart.net/projects/virtuemart/wiki/General_JS-Problems_with_templates_and_jQuery
http://dev.virtuemart.net/projects/virtuemart/wiki/JavascriptCSS_Template_Overrides_and_Avoiding_Conflicts_between_Libraries

Regards
Title: Re: Jquery issue...products not adding to cart
Post by: dawghart on December 15, 2012, 17:12:34 pm
Thanks for your reply i have been trying to get this to work for three days before i posted so i have tried that. live url is www.prissymisshair.com
Title: Re: Jquery issue...products not adding to cart
Post by: jenkinhill on December 15, 2012, 17:30:38 pm
It will not work at the moment as you are not loading a jQuery library at all! So enable it under "Activate Css Styles & Javascripts" and check if it works. If there is staill a problem the change your joomla template to Beez5 and test with that one. Let us know what happens.
Title: Re: Jquery issue...products not adding to cart
Post by: bytelord on December 15, 2012, 17:52:29 pm
Hello,

As i see you are correct it and you are loading jquery using jquery easy, please try a 1.7.x version of jquery

Regards
Title: Re: Jquery issue...products not adding to cart
Post by: dawghart on December 15, 2012, 18:13:18 pm
Thanks guys.. some of you need a donate button .... ok i have the use jquery option already on in vm... dont know where in the template to turn it on or off as i dont see that option..should i uninstall jquery easy
Title: Re: Jquery issue...products not adding to cart
Post by: dawghart on December 15, 2012, 21:08:09 pm
Anyone...i have reinstalled joomla and virtuemart and still same issue
Title: Re: Jquery issue...products not adding to cart
Post by: andreas.hallberg on December 16, 2012, 02:23:43 am
It will not work at the moment as you are not loading a jQuery library at all! So enable it under "Activate Css Styles & Javascripts" and check if it works. If there is staill a problem the change your joomla template to Beez5 and test with that one. Let us know what happens.


I have the same problem but when I changed to Beez5 it works. I use a template made in Artisteer 4 and it seems that it adds Jquery. Should I, and is it possible, to stop Artisteer to add Jquery? I have tried to unmark the option in Virtuemart Templates tab that concerns the JQuery, but then I just come to an empty cart instead of adding the product and there will not be any pop up either.

Artisteer 4 adds JQuery 1.7.1.


BR

Andreas
Title: Re: Jquery issue...products not adding to cart
Post by: andreas.hallberg on December 16, 2012, 09:06:16 am
I have found the problem. It isn't my Artisteer template but a menu module I have installed. When I unpublish it it seems to work.

/Andreas
Title: Re: Jquery issue...products not adding to cart
Post by: bytelord on December 16, 2012, 11:10:07 am
I have found the problem. It isn't my Artisteer template but a menu module I have installed. When I unpublish it it seems to work.

/Andreas

Check your module and see if it loading jquery and unload it.

Anyone...i have reinstalled joomla and virtuemart and still same issue
As i see is working now without errors but you are loading twice jquery library, one from vm2 and one from your template. To your previous questions the jquery inside your template loaded inside the header /templates/prissymisstemp/jquery.js, and is the version 1.7.1.

Regards