[Skip to main content](#vessel-content)

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

##

- **[rian.groenewald](/forum/user/8570-rian-groenewald "View rian.groenewald's Profile")**
- [![rian.groenewald's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8570-rian-groenewald "View rian.groenewald's Profile") Topic Author
- [ Offline](/forum/user/8570-rian-groenewald)

Less More

- Posts: 2
- Thank you received: 0
-
-

14 years 2 months ago [\#60737](#60737) by [rian.groenewald](/forum/user/8570-rian-groenewald "View rian.groenewald's Profile")  *[Need to click twice on "add to cart" in firefox...](/forum/3-bug-report/60737-need-to-click-twice-on-add-to-cart-in-firefox#60737 "Like the title said, for some reason I have to click twice on the &quot;add to cart&quot; button in my shop when using firefox. Chrome and IE works fine.  Using joomla 2.54 and hikashop starter 1.5.9")* was created by *[rian.groenewald](/forum/user/8570-rian-groenewald "View rian.groenewald's Profile")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC82MDczNy1uZWVkLXRvLWNsaWNrLXR3aWNlLW9uLWFkZC10by1jYXJ0LWluLWZpcmVmb3g/bGFuZz1lbiZ0bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

14 years 2 months ago [\#60748](#60748) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Re: Need to click twice on "add to cart" in firefox...](/forum/3-bug-report/60737-need-to-click-twice-on-add-to-cart-in-firefox#60748 "Like the title said, for some reason I have to click twice on the &quot;add to cart&quot; button in my shop when using firefox. Chrome and IE works fine.  Using joomla 2.54 and hikashop starter 1.5.9")*

Hi,

Please edit the file **administrator/com\_hikashop/helpers/cart.php**

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

if(varform){ varform.action = "'.hikashop_completeLink('product&amp;task=updatecart',false,false).'"; varform.submit(); }

By: Code:

if(varform){ varform.action = "'.hikashop_completeLink('product&amp;task=updatecart',false,false).'"; varform.submit(); varform.action = "'.hikashop_completeLink('product&amp;task=updatecart',false,false).'"; }

It should fix the problem with firefox.

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC82MDczNy1uZWVkLXRvLWNsaWNrLXR3aWNlLW9uLWFkZC10by1jYXJ0LWluLWZpcmVmb3g/bGFuZz1lbiZ0bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[rian.groenewald](/forum/user/8570-rian-groenewald "View rian.groenewald's Profile")**
- [![rian.groenewald's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8570-rian-groenewald "View rian.groenewald's Profile") Topic Author
- [ Offline](/forum/user/8570-rian-groenewald)

Less More

- Posts: 2
- Thank you received: 0
-
-

14 years 2 months ago [\#60762](#60762) by [rian.groenewald](/forum/user/8570-rian-groenewald "View rian.groenewald's Profile")  Replied by *[rian.groenewald](/forum/user/8570-rian-groenewald "View rian.groenewald's Profile")* on topic *[Re: Need to click twice on "add to cart" in firefox...](/forum/3-bug-report/60737-need-to-click-twice-on-add-to-cart-in-firefox#60762 "Like the title said, for some reason I have to click twice on the &quot;add to cart&quot; button in my shop when using firefox. Chrome and IE works fine.  Using joomla 2.54 and hikashop starter 1.5.9")*

Hi Jerome,

Thanks for the fix and the quick reply - it is working now! ![:)](/media/kunena/emoticons/3.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC82MDczNy1uZWVkLXRvLWNsaWNrLXR3aWNlLW9uLWFkZC10by1jYXJ0LWluLWZpcmVmb3g/bGFuZz1lbiZ0bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.072 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
