News:

Looking for documentation? Take a look on our wiki

Main Menu

Problem with adding products to shopping cart

Started by testrat, March 08, 2012, 08:40:01 AM

Previous topic - Next topic

testrat

First of all I apologize for my English. :)
I tried to search the problem but didnt find it, so I hope nobody asked this before.

Now the problem:
I tried clicking on ad to the cart but nothing happend. So I looked into FAQ and disabled Virtuemart jQuery as it was here http://forum.virtuemart.net/index.php?topic=95233.0 .
But when I clicked on the add to cart button it showed page where i was able to choose how to pay and other stuff but the cart was still empty and the total prize was 0,00 €.
I tried to disable or enable Google jQuery but it didn't change anything.

The site is here http://www.labmouse.cekuj.net/   it is mostly in czech but I think you'll be able to see the problem anyway.

Thanks for help.

luftkaffe

Just want to say that i have the same problem. Would be great to have a solution for this.

jenkinhill

testrat you are not loading jQuery at all - you must load one version of the jQ library as AJAX is required to update the cart.

luftkaffe without a url it is impossible to be specific, but it is always due to a JavaScript conflict or failure to load some of the JS library files.
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

testrat

#3
Thank you. But if i'm not using any jQuery now, why desn't it work with the Virtuemart jQuery?
And how am I supposed to get any other jQuery working with Virtuemart?

Sorry, i'm just another newbie. :)


EDIT: I've tested it and the buttom add to cart works if I disable virtuemart jQuery or product skript. But in both options after adding the product into cart it take me into page with paying and the cart is still empty and total prize is 0 euro.

renevm

#4
Hi Guys,

I am having the same problem here: http://www.slimme-uilen.nl/winkel/groep-34/lichaam-2-detail Click on the "voeg toe" (add to cart) button and nothing happens. When i do exactly the same on my local machine (copied the files and the database) then is DOES work.

My system is running joomla 2.5.2 and VM 2.0.2.

Any ideas? I just put this site LIVE, so it would be great to have a quick solution.

Kind regards,
    René

testrat

renevm I tried your sites and it works fine.

And I forget to say: Joomla 2.5; Virtuemart 2.0.2

luftkaffe

I think this i something other than just a javascript problem. I am using the beez template, loading google scripts via plugin and disabled all moduls. It doesnt work.

jenkinhill

luftkaffe unless you post a url nobody is going to be able to check this.
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

jamedia

Having same issue at http://www.geniusplanet.com right now add to cart is working on IE 9 and Firefox but won't load on Chrome.

Help would be greatly appreciated.

jenkinhill

Works for me in Chrome. See http://forum.virtuemart.net/index.php?topic=99042

You are also loading two copies of jQuery, one for VM and one for swmenu.
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

jamedia

Since the menu is in every page I would like to keep the menu's Jquery running and disable the one from VM, how can I go about doing that without getting bunch of 0 in the cart?

Thank You

renevm

Hi Testrat,

You say you have tested my site and it works? What browser do you use? I tried both FireFox and IE, but both were not working. Thanks for your reply.

regards,
   René

jamedia

I was able to remove the jquery from loading from swmenu and I even double checked on the source code and the one that's loading are from VM only but still can't get it to work on Chrome.

jenkinhill

It works OK on my Chrome, so either update your Chrome version or try with Chrome on another PC.
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

luftkaffe

#14
Quote from: testrat on March 08, 2012, 12:25:27 PM
renevm I tried your sites and it works fine.

And I forget to say: Joomla 2.5; Virtuemart 2.0.2

No, it doesnt work from here. I´m using Firefox 10.0.2
It looks like  virtuemart have a big compability problem.

Chrome works fine, but i cant force all my customers to download Chrome.