Author Topic: Add To Cart Issue  (Read 9821 times)

kwaku

  • Beginner
  • *
  • Posts: 8
Add To Cart Issue
« on: January 03, 2012, 01:31:11 am »
Hi Guys, Thanks so much for this powerful and great extension. By the way I'm having this problem. The installation and everything work fine but after testing the site, I realized that the add to cart only works in firefox and not in other browsers like safari, chrome. I've tried other ways like disabling the jquery etc but still to no avail. I am using joomla 1.7 and the the latest version of virtuemart (2.0). Please if there is any help out there I will greatly appreciate. Thx

MobiVM

  • Jr. Member
  • **
  • Posts: 267
    • Native Mobile Apps for VritueMart
Re: Add To Cart Issue
« Reply #1 on: January 03, 2012, 06:21:00 am »
Hello,

Please provide site url.

So, We can check issue!

Best Regards,
Trivedi kartik.
Native mobile Apps for VirtueMart! Visit http://www.ivmstore.com

kwaku

  • Beginner
  • *
  • Posts: 8
Re: Add To Cart Issue
« Reply #2 on: January 03, 2012, 10:34:02 am »
Hi, Thanks for such a quick response. Please below is the  url. I Look forward to your reply. Thanks once again.
http://mytwitime.com/buy-online

MobiVM

  • Jr. Member
  • **
  • Posts: 267
    • Native Mobile Apps for VritueMart
Re: Add To Cart Issue
« Reply #3 on: January 03, 2012, 12:58:10 pm »
Hello,

can you provide administrator details in PM so we can check setting?

Best Regards,
Trivedi kartik.
Native mobile Apps for VirtueMart! Visit http://www.ivmstore.com

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28117
  • Always on vacation
    • Jenkin Hill Internet
Re: Add To Cart Issue
« Reply #4 on: January 03, 2012, 20:01:19 pm »
kwaku you are loading two versions of jQuery. That is the most likely cause of the problem. See http://dev.virtuemart.net/projects/virtuemart/wiki/General_JS-Problems_with_templates_and_jQuery
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

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

Currently using VirtueMart 3.8.9.10473 on Joomla 3.9.24 PHP 7.4.14

kwaku

  • Beginner
  • *
  • Posts: 8
Re: Add To Cart Issue
« Reply #5 on: January 04, 2012, 01:28:17 am »
kwaku you are loading two versions of jQuery. That is the most likely cause of the problem. See http://dev.virtuemart.net/projects/virtuemart/wiki/General_JS-Problems_with_templates_and_jQuery


Three things,
1. Thanks Jenkinhill for your help.

2.  I've tried the second solution by editing the virtuemart.cfg file and changed google_jquery=1 to google_jquery=0 but I can't seem to locate or find and empty the  database  table _virtuemart_adminmenuentries.  I'm using FileZila. Please if you can guide me on how to go about it I will greatly appreciate it. Thanks again

3.  I've also tried to disable the jQuery in vm. When disabled the quantity controls is no longer active when clicked on. And when user clicks on the add to cart button it takes the user to cart with no items in the cart.

kwaku

  • Beginner
  • *
  • Posts: 8
Re: Add To Cart Issue
« Reply #6 on: January 04, 2012, 01:32:07 am »

Hello,

can you provide administrator details in PM so we can check setting?

Best Regards,
Trivedi kartik.


Hi, Thanks for your response. Pls what do you mean by "PM"?

MobiVM

  • Jr. Member
  • **
  • Posts: 267
    • Native Mobile Apps for VritueMart
Re: Add To Cart Issue
« Reply #7 on: January 04, 2012, 06:30:34 am »
Hello,

PM means personal message.

Best Regards,
Trivedi kartik.
Native mobile Apps for VirtueMart! Visit http://www.ivmstore.com

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28117
  • Always on vacation
    • Jenkin Hill Internet
Re: Add To Cart Issue
« Reply #8 on: January 04, 2012, 11:17:45 am »
kwaku you empty database tables using phpMyAdmin. And you do need one version of jQuery running to enable add to cart etc in VirtueMart.

Another cause of possible conflict in your site may be the menu system - you are loading a large amout of JavaScript.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

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

Currently using VirtueMart 3.8.9.10473 on Joomla 3.9.24 PHP 7.4.14

kwaku

  • Beginner
  • *
  • Posts: 8
Re: Add To Cart Issue
« Reply #9 on: January 04, 2012, 14:34:03 pm »
 
kwaku you empty database tables using phpMyAdmin. And you do need one version of jQuery running to enable add to cart etc in VirtueMart. Another cause of possible conflict in your site may be the menu system - you are loading a large amout of JavaScript.


Thanks once again you've been very helpful. I managed to locate and empty the datatable _virtuemart_adminmenuentries. Awaiting to see what happens after refreshing. Will let you know how it goes.

Also you mentioned that another cause of conflict could be the menu system due to large amount of JavaScript. If that's the case, what will be the solution for that kind of issue. I want to know should in case the the first solution doesn't work.

Thanks

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28117
  • Always on vacation
    • Jenkin Hill Internet
Re: Add To Cart Issue
« Reply #10 on: January 04, 2012, 18:03:31 pm »
You could try with a different menu module.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

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

Currently using VirtueMart 3.8.9.10473 on Joomla 3.9.24 PHP 7.4.14

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10428
  • VirtueMart Version: 3+
Re: Add To Cart Issue
« Reply #11 on: January 04, 2012, 18:25:36 pm »
Also you mentioned that another cause of conflict could be the menu system due to large amount of JavaScript. If that's the case, what will be the solution for that kind of issue. I want to know should in case the the first solution doesn't work.

Thanks

which menu system is it?


kwaku

  • Beginner
  • *
  • Posts: 8
Re: Add To Cart Issue
« Reply #12 on: January 05, 2012, 01:23:26 am »
Hi jenkinhill, thanks for your quick response and help. After emptying the datatable _virtuemart_adminmenuentries, the site is gone off line with this message, "Infinite loop detected in JError." I cant access the backend as it also comes with the same message error. Pls I really need some help now!
The URL is www.mytwitime.com

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28117
  • Always on vacation
    • Jenkin Hill Internet
Re: Add To Cart Issue
« Reply #13 on: January 05, 2012, 10:14:08 am »
Go back to your last working backup.

And have a look at http://docs.joomla.org/Infinite_loop_detected_in_JError_in_Joomla_1.7
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

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

Currently using VirtueMart 3.8.9.10473 on Joomla 3.9.24 PHP 7.4.14

johnnyboy_31

  • Beginner
  • *
  • Posts: 14
Re: Add To Cart Issue
« Reply #14 on: January 05, 2012, 21:22:01 pm »
kwaku you empty database tables using phpMyAdmin. And you do need one version of jQuery running to enable add to cart etc in VirtueMart.

Another cause of possible conflict in your site may be the menu system - you are loading a large amout of JavaScript.

Hi is phpMyAdmin the only way to empty the database tables?

I managed to  change google_jquery=1 to google_jquery=0, but installing  phpMyAdmin seems a bridge to far for me.

Please help

John