VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: DamirK on March 06, 2013, 12:32:48 PM

Title: Ad to cart - no jQuery, template problem
Post by: DamirK on March 06, 2013, 12:32:48 PM
I have that "Ad to cart| problem where nothing happens. I have been searching for past few days through the forum and trying things...

I would say that I am sure my template is not using any jQuery scripts, I built the template my self. Nothing special...

But I tried disabling Using the VirtueMart jQuery but it didn't help.
I tried adding jQuery manually, adding it in template. Did not help
I even changed google_jquery=1 to google_jquery=0 and emptied table _virtuemart_adminmenuentries.

I would say that my configuration is not set properly but what exactly? I guess jQuery is not loading at all?


I am using Virtuemart 2.0.18a and Joola 2.5.9
Here is the link where I am testing the Ad to Cart http://hidrosaan.rs/katalog/test/test-detail


As none of this helped, I have reset the virtuemart.cfg, checked back VM jQuery... but cant un-empty the table if that is needed at all :)
Not realy sure what to do now, so I have to ask for help  :-[
Title: Re: Ad to cart - no jQuery, template problem
Post by: jenkinhill on March 06, 2013, 13:32:00 PM
You are not loading any VirtueMart scripts or css in your template. Suggest you try with Beez template just to show that VirtueMart does work, and then rebuild the head section of your template.
Title: Re: Ad to cart - no jQuery, template problem
Post by: DamirK on March 06, 2013, 14:14:22 PM
I tested it with Beez template it works.
I'll have look at it, to try work out what I am missing in my template.  :-\
Title: Re: Ad to cart - no jQuery, template problem
Post by: DamirK on March 06, 2013, 16:00:15 PM
Any guidelines on what I am missing in my template?  :-[
I guess it somehow needs to comunicate with components? VM in this case
Title: Re: Ad to cart - no jQuery, template problem
Post by: jenkinhill on March 06, 2013, 18:53:04 PM
Sorry, we are not here to tell people how to build Joomla templates. That is covered in many on-line tutorials and also in http://forum.joomla.org/viewforum.php?f=619
Title: Re: Ad to cart - no jQuery, template problem
Post by: DamirK on March 07, 2013, 10:06:26 AM
OK, thanks!
Title: Re: Ad to cart - no jQuery, template problem
Post by: DamirK on March 07, 2013, 11:59:52 AM
In order to help anyone with the same (stupid) mistake...

I was missing <jdoc:include type="head" />