News:

Looking for documentation? Take a look on our wiki

Main Menu

"Add to cart" button not working

Started by broc93, August 11, 2013, 00:01:33 AM

Previous topic - Next topic

broc93

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

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
Lowestoft, Suffolk, UK

Retired from forum life November 2023

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

broc93

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

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

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

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
Lowestoft, Suffolk, UK

Retired from forum life November 2023

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

broc93

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

Try the backup on a subdirectory of the same server - that will allow you to rule out the problem being host 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

Maxim Pishnyak

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).
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