Author Topic: "Add to cart" button not working  (Read 5992 times)

broc93

  • Beginner
  • *
  • Posts: 30
    • Vendita Prodotti Herbalife - DietaBenessereHL
"Add to cart" button not working
« on: August 11, 2013, 00:01:33 AM »
Hello! Suddenly the "add to cart" button on my webiste isn't working anymore! I haven't made any big change to the website in the last days, only some edits to the content, as far as I remember, but the button stopped working.
I don't know anything of Javascript, so I'm wondering if someone could help me. It would be really appreciated ;)
Here's my website: www.dietabenesserehl.it

Thank you in advance,
Luca
Herbalife products
http://dietabenesserehl.it

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28695
  • Always on vacation
    • Jenkin Hill Internet
Re: "Add to cart" button not working
« Reply #1 on: August 11, 2013, 00:37:30 AM »
Yes, you do have a JavaScript problem:
TypeError: $.facebox is undefined
$.facebox.settings.closeImage = closeImage;

Since VM now uses Fancybox rather than Facebox, first tell us which exactly versions you are using:  http://forum.virtuemart.net/index.php?topic=79799.0
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 4.0.22 10858  J 3.10.11 PHP 8.0.27

broc93

  • Beginner
  • *
  • Posts: 30
    • Vendita Prodotti Herbalife - DietaBenessereHL
Re: "Add to cart" button not working
« Reply #2 on: August 11, 2013, 18:07:29 PM »
Oh, I'm sorry, I thought it could be seen from the website. Anyway, it's 2.0.10 :)
Thank you in advance,
Luca
Herbalife products
http://dietabenesserehl.it

Maxim Pishnyak

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2656
Re: "Add to cart" button not working
« Reply #3 on: August 11, 2013, 18:12:20 PM »
Old versions. Could you update?
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

broc93

  • Beginner
  • *
  • Posts: 30
    • Vendita Prodotti Herbalife - DietaBenessereHL
Re: "Add to cart" button not working
« Reply #4 on: August 11, 2013, 18:51:14 PM »
Well, last time I updated everything didn't work anymore (I mean, the graphics were all messed up, as far as I remember), so I reverted back to this version...
Herbalife products
http://dietabenesserehl.it

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28695
  • Always on vacation
    • Jenkin Hill Internet
Re: "Add to cart" button not working
« Reply #5 on: August 11, 2013, 23:22:13 PM »
VM2.0.10 was released a year ago, so few people in this forum will have it in use any more - that makes it difficult to guess what your problem is.

Things don't stop working suddenly unless you or your host makes some changes that cause this to happen. Impossible to diagnose without knowing exactly what you (or your host) did.
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 4.0.22 10858  J 3.10.11 PHP 8.0.27

broc93

  • Beginner
  • *
  • Posts: 30
    • Vendita Prodotti Herbalife - DietaBenessereHL
Re: "Add to cart" button not working
« Reply #6 on: August 12, 2013, 19:35:24 PM »
Well, I don't really know when the button stopped working :(
Anyway, what could I do to solve the problem? (except using a backupped version of the website)
Herbalife products
http://dietabenesserehl.it

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28695
  • Always on vacation
    • Jenkin Hill Internet
Re: "Add to cart" button not working
« Reply #7 on: August 13, 2013, 11:00:57 AM »
Try the backup on a subdirectory of the same server - that will allow you to rule out the problem being host related.
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 4.0.22 10858  J 3.10.11 PHP 8.0.27

Maxim Pishnyak

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2656
Re: "Add to cart" button not working
« Reply #8 on: August 13, 2013, 11:11:09 AM »
Well, I don't really know when the button stopped working :(
Anyway, what could I do to solve the problem? (except using a backupped version of the website)
Compare current and backupped versions of your website (Kdiff program).
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart