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

#   Nothing happens when clicking Add to Cart

##

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

Less More

- Posts: 7
- Thank you received: 0
-
-

14 years 4 months ago [\#55299](#55299) by [adrien5555](/forum/user/6966-adrien5555 "View adrien5555's Profile")  *[Nothing happens when clicking Add to Cart](/forum/3-bug-report/55299-nothing-happens-when-clicking-add-to-cart#55299 "Hello,  Any Add to Cart button gets me back to the home page, without adding anything to the cart.  you can check here:   www.pmesurlenet.fr/tarifs-creation-site-internet  what are the possible reasons ?  config : J2.5.4 and Hikashop 1.5.8  Thanks for your support adrien")* was created by *[adrien5555](/forum/user/6966-adrien5555 "View adrien5555's Profile")*

Hello,

Any Add to Cart button gets me back to the home page, without adding anything to the cart.

you can check here:
[ www.pmesurlenet.fr/tarifs-creation-site-internet](http://www.pmesurlenet.fr/tarifs-creation-site-internet)

what are the possible reasons ?

config : J2.5.4 and Hikashop 1.5.8

Thanks for your support
adrien

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

14 years 4 months ago [\#55370](#55370) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Nothing happens when clicking Add to Cart](/forum/3-bug-report/55299-nothing-happens-when-clicking-add-to-cart#55370 "Hello,  Any Add to Cart button gets me back to the home page, without adding anything to the cart.  you can check here:   www.pmesurlenet.fr/tarifs-creation-site-internet  what are the possible reasons ?  config : J2.5.4 and Hikashop 1.5.8  Thanks for your support adrien")*

Hi,

That's because of the custom javascript that you added in the add to cart button's code which throws a error error when you click on the add to cart button:

Uncaught SyntaxError: Unexpected token ILLEGAL tarifs-creation-site-internet: line 293
_gaq.push ([‘_trackEvent’,’panier’,’packweb’]);

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

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

Less More

- Posts: 7
- Thank you received: 0
-
-

14 years 4 months ago [\#55379](#55379) by [adrien5555](/forum/user/6966-adrien5555 "View adrien5555's Profile")  Replied by *[adrien5555](/forum/user/6966-adrien5555 "View adrien5555's Profile")* on topic *[Re: Nothing happens when clicking Add to Cart](/forum/3-bug-report/55299-nothing-happens-when-clicking-add-to-cart#55379 "Hello,  Any Add to Cart button gets me back to the home page, without adding anything to the cart.  you can check here:   www.pmesurlenet.fr/tarifs-creation-site-internet  what are the possible reasons ?  config : J2.5.4 and Hikashop 1.5.8  Thanks for your support adrien")*

hi Nicolas,
great... I must have added this tracking code in the middle of something. I'll triple check.
Thank you,
Adrien

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC81NTI5OS1ub3RoaW5nLWhhcHBlbnMtd2hlbi1jbGlja2luZy1hZGQtdG8tY2FydD90bXBsPW1hcmtkb3du) 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.093 seconds

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