News:

Looking for documentation? Take a look on our wiki

Main Menu

Clicking Add to Cart give empty cart page

Started by Hannes van As, July 22, 2015, 21:07:34 PM

Previous topic - Next topic

Hannes van As

Good day

I am developing a website for a friend.  I have a lot of experience with Joomla 3 and developing templates for Joomla itself, but this is my first encounter with VirtueMart.  The site is still on my local machine - running on Bitnami Wamp - Joomla version 3.4.3, VirtueMart version 3.0.9.

My problem:
When I use my own template and I click on add to cart, it jumps to the cart page and shows no items in the cart.  This occurs in Products Category page as well as Product Details page.

When I use default Protostar template then everything works fine.  So I guess this is a template issue?  I have read somewhere on this forum that your template must be VirtueMart 3 compatible.  Question is, how do I make my template VM 3 compatible?  What needs to change?

I didn't change any of the Joomla Core files nor any of the Virtuemart core files.  I simply created a brand new template for Joomla itself and would like to use it for the Virtuemart part of the website as well.

Thanks for your help.

Hannes

jenkinhill

#1
You probably have a JavaScript issue. Check with your favourite debugger.

There is no such thing as a VM compatible Joomla template. They should all be compatible unless they use wierd scripting or have too many bells & whistles.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Hannes van As

#2
Hi

Thanks for the quick reply. It set me on the right track.  I don't use any custom javascript with my template, but I did install the jQuery Easy extension for Joomla. I disabled it now and loaded the Joomla jQuery framework in no conflicts mode in my template, and now everything is working fine - so far.

Thanks again!

jenkinhill

You do not usually need jQueryEasy with VM3 on J3
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

nikki021

I was having a similar kind of issue but not any more. Fixed!