Need to click twice on "add to cart" in firefox...

  • Posts: 2
  • Thank you received: 0
12 years 3 months ago #60737

Like the title said, for some reason I have to click twice on the "add to cart" button in my shop when using firefox. Chrome and IE works fine.

Using joomla 2.54 and hikashop starter 1.5.9

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
12 years 3 months ago #60748

Hi,

Please edit the file administrator/com_hikashop/helpers/cart.php

And replace this part of code (which is twice in the file) :

if(varform){
					varform.action = "'.hikashop_completeLink('product&task=updatecart',false,false).'";
					varform.submit();
				}
By:
if(varform){
					varform.action = "'.hikashop_completeLink('product&task=updatecart',false,false).'";
					varform.submit();
					varform.action = "'.hikashop_completeLink('product&task=updatecart',false,false).'";
				}
It should fix the problem with firefox.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 2
  • Thank you received: 0
12 years 3 months ago #60762

Hi Jerome,

Thanks for the fix and the quick reply - it is working now! :)

Please Log in or Create an account to join the conversation.

Time to create page: 0.057 seconds
Powered by Kunena Forum