Welcome, Guest. Please login or register.
Login with username, password and session length


VirtueMart 1.1.8 - [SECURITY RELEASE] is available! Read more....

  Advanced search

247038 Posts in 67506 Topics- by 258314 Members - Latest Member: aniketana
VirtueMart ForumVirtueMart 1.1.xFrequently Asked QuestionsMy add to cart button does not work in Firefox
Pages: [1]   Go Down
Print
Author Topic: My add to cart button does not work in Firefox  (Read 2545 times)
jenkinhill
Global Moderator
Hero Member
*
Posts: 9763



WWW
« on: February 20, 2011, 11:33:12 AM »

A lot of VirtueMart users have a problem where they cannot add a product to cart or the cart delete/update icons do not work, often giving a redirect to the home page. This is usually due to inconsistency of url in configuration. You must use either http(s)://www.domain.com/ or http(s)://domain.com/ -  ie with or without the www. which are seen as a different domains in modern browsers. FireFox security will not transfer the session to the "new" url.

Make sure that siteurl and secureurl In VirtueMart configuration/security are both set to whichever format you choose and use .htaccess at the Joomla root on the server to force all urls to use that format.

My view is that it is better to use www. as shoppers know that that is something to do with a web address, and where a site url is published in print, the standard now is to use www.domain.com (ie to include the www)

*sometimes a failure to add to cart is caused by a JavaScript conflict where a script from the Joomla template or another module causes an error. This is usually spotted by an error on page message appearing at the bottom of IE8's browser window. Use web developer tools, such as in IE8 or Firebug to indentify the cause.
Logged

Kelvyn
Jenkin Hill Internet,
Keswick, Lake District

Please do not PM or Email me with support questions. I look at PMs only once a month. You will get better and faster responses in the support forums.

Current recommended release versions are: Joomla! 1.5.23 :: VirtueMart 1.1.8

URGENT:  Help VirtueMart development by testing  version 1.1.9
Pages: [1]   Go Up
Print
Jump to: