VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: broc93 on August 11, 2013, 00:01:33 AM

Title: "Add to cart" button not working
Post by: broc93 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
Title: Re: "Add to cart" button not working
Post by: jenkinhill 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
Title: Re: "Add to cart" button not working
Post by: broc93 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
Title: Re: "Add to cart" button not working
Post by: Maxim Pishnyak on August 11, 2013, 18:12:20 PM
Old versions. Could you update?
Title: Re: "Add to cart" button not working
Post by: broc93 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...
Title: Re: "Add to cart" button not working
Post by: jenkinhill 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.
Title: Re: "Add to cart" button not working
Post by: broc93 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)
Title: Re: "Add to cart" button not working
Post by: jenkinhill 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.
Title: Re: "Add to cart" button not working
Post by: Maxim Pishnyak on August 13, 2013, 11:11:09 AM
Quote from: broc93 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)
Compare current and backupped versions of your website (Kdiff program).