News:

Support the VirtueMart project and become a member

Main Menu

Problem with adding products to shopping cart

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

Previous topic - Next topic

testrat

#15
Hi renevm,

I'm sorry, you're right. I was using chrome and it worked.
Mozilla have a problem.


And now to my problem with jQuery

Quote from: testrat on March 08, 2012, 08:40:01 AM
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.

Quote from: jenkinhill on March 08, 2012, 09:47:25 AM
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.

Quote from: testrat on March 08, 2012, 10:33:03 AM
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.


I had no better idea so I tried to reinstall joomla 2.5. It didn't helped, so I tried joomla 1.7. And it is working.
But when I add anything to the cart, the cart still looks like empty untill i refresh the page.
I have no idea why.
Here is the link again: http://www.labmouse.cekuj.net

virtuemart version 2.0.2

jamedia

On my site, sometimes it worked and sometimes it doesn't no matter what browser or what version, something is happening on my clients' computer.

I know I only have one Jquery loading, any clue?

Thank You

renevm

I am really sorry, but i still can not find what causes the problem. Anyone from Virtuemart? PLEASE!

jenkinhill

renevm you are installing VM jQuery and then another version is installed by your template -
<script type="text/javascript" src="/templates/slimme_uilen/jquery.js"></script>

That is possibly why....
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


renevm

#20
Hi Jenkinhill,

Thanks for your advice. I removed the Jquery from the template, but still the same problem. It's even "nicer" than this. When i run the same website (copied database and files clean) it does run nicely on my local machine, but NOT on the live environment. What is blocking this thing? I really don't understand.

Edit>>> And it's getting better: On my other hosting environment this same site (again copied database and files clean) is working: http://test2.gouda-webdesign.nl

Any ideas??? Any? Is this a php setting?

jenkinhill

It could be a PHP version issue. It has been suggested elsewhere that Artisteer templates have some unpredictable behavior on some hosts, maybe that is related.
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

jenkinhill

jamedia, you issue does look like a JS conflict, as AJAX does not seem to run at all. Most likely conflict is with http://www.geniusplanet.com/modules/mod_swmenufree/transmenu_Packed.js - this swmenu script must be 8 years old now, so maybe try a different menu module?
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

willxiao0790

Hi Jenkinhill,

I'm using J2.5.2, VM2.0.2, PHP 5.3.8 and have my own VPS.

I got problem of add-to-cart button. Pop-up can display properly in Opera 11.5, Chrome 17, FF, IE9, Safari 5, but NOT IE8, IE7, Safari on iPad (especially my client wants the site to be able to load on iPad). Please help me to check.

I tried to disable VM JQuery, disable external GG JQuery. The same problem still there.

The current http://casafortegroup.com/sf/index.php/shop here is with GG JQuery enabled and VM JQuery disabled.

--------------------

By the way, the popup window of extra product images when clicking thumbnail in product details doesn't have the prev/next button.
How can I fix this? http://casafortegroup.com/sf/index.php/books/how-to-decorate-detail

-------------------

In the product category view, http://casafortegroup.com/sf/index.php/bedlinen , when we click on drop-down list of "List by 3,6,9,12 ", it can't run properly and directs us to shop front-page.

Many thanks in advance.

Best regards,

Will

eusi

Got the same popup-problem on IE7 and IE8 :/

jenkinhill

willxiao0790 add to cart & facebox work fine for me on your site with IE9

Prev/next buttons are not included in that facebox script but you can use another, as discussed in other parts of this forum.
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

jenkinhill,

I took your advise and I dumped swmenu for maximenu ck and nothing has changed, still having the same issue as before on adding products to cart, could you please take a look at www.geniusplanet.com and see if you can find anything else that might be conflicting with VM's jquery.

My client is very upset with me.

Thank You so much

palpal

I have the same issue here that my cart cannot add any product. I installed the firebug and found the below error message in the screen capture.
May i know what are they and how to fix it ?

I am running joomla 2.5.2 and VM 2.0.2. Thanks !





[attachment cleanup by admin]

willxiao0790

Hi jenkinhill,

Would you please show me the link of forum which discuss about how to implement prev/next button? Thanks

Regard,

tiago_sans

My site has the same problem. Can't add any product to cart. When I click add to cart, there's no popup at all.

http://darkalice.com.br/index.php/produtos/corpetes

VM 2.0.3E, J 2.5.3