News:

Support the VirtueMart project and become a member

Main Menu

ADD TO CART BUTTON DOES NOT WORK NOR LINK

Started by wavevector, February 23, 2013, 05:12:37 AM

Previous topic - Next topic

wavevector

Hello,

I am having a similar issue with a lacking twist of linking to nothing for the VirtueMart Joomla 1.5 plugin Add To Cart button at: http://www.thegentlemenswar.com/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=17&Itemid=53

Can you guys please take a look into why my "Add To Cart" button is not working.  It does not link to anything.  It simply pushes down, and does nothing.  Please let me know why this button does not link.

Thanks,

Walter Hnot

jenkinhill

You have JavaScript conflicts, the first one causing problems is SqueezeBox so remove that old script and try again.

SCRIPT5009: 'Class' is undefined
modal.js, line 17 character 1
SCRIPT438: Object doesn't support property or method 'addEvent'
index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=17&Itemid=53, line 38 character 3
SCRIPT5007: Unable to get value of the property 'settings': object is null or undefined
vmprices.js, line 66 character 14

Also Joomla 1.5 is no longer supported for VirtueMart -   http://virtuemart.net/news/list-all-news/426-end-of-life-for-virtuemart-11-heidelpay-now-in-virtuemart-2012

"We decided to declare now the end of life for VirtueMart 1.1, and that the version 2 of VirtueMart is not any longer maintaining joomla 1.5 compatibility." 4 October 2012
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

seaniemorris

#2
I also have this problem: https://www.irishshootingsports.ie

I did have a jQuery conflict during testing a few weeks ago and so I got rid of the one that was a sacrificial lamb, to do with a rolling images effect on the homepage only. The 'Add to Cart button worked then.

I since applied a javascript-only rolling images effect on the homepage only. But, even if I delete all of its javascripts (both in the <head> section AND the <body> of the Homepage for good measure), I still have an unworking/unlinking 'Add to Cart' button.

I must add that if I take the 's' out of the 'https://' address and refresh the page of any product, it works fine.

Seanie.

seaniemorris

Solved:

In the configuration.php file the live site declaration was missing any content, so I changed it to:

public $live_site = 'https://www.irishshootingsports.ie';

Once done, for anyone else that notices this, you may not be able to overwrite the existing configuration.php file on the server - rename it, and upload the modified one instead.

Seanie.