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

#   Add to cart button not working

##

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

Less More

- Posts: 58
- Thank you received: 2
-
-

12 years 7 months ago [\#148000](#148000) by [mcruip](/forum/user/12482-mcruip "View mcruip's Profile")  *[  € 70,00     Update, support and services: Essential                  [Add to cart](/component/hikashop/product/updatecart/add-1/cid-13?Itemid=208)        ](/forum/3-bug-report/866585-add-to-cart-button-not-working#148000 "Hi,  We're having a serious issue with the business edition on the button that is added to the article. The button renders perfectly but links to the homepage of the site. The product doesn't have any special or custom fields applied - it's a simple product with price rendered through:  &lt;div id=")*

This is the link that is rendered in the add to cart button: Add to cart Thanks for any help" class="hasTooltip topictitle"&gt;Add to cart button not working was created by *[mcruip](/forum/user/12482-mcruip "View mcruip's Profile")*

Hi,

We're having a serious issue with the business edition on the button that is added to the article. The button renders perfectly but links to the homepage of the site.
The product doesn't have any special or custom fields applied - it's a simple product with price rendered through:

€ 70,00     Update, support and services: Essential                  [Add to cart](/component/hikashop/product/updatecart/add-1/cid-13?Itemid=208)

This is the link that is rendered in the add to cart button:

&lt;a class="hikashop_cart_button" href="/" onclick="var field=document.getElementById('hikashop_product_quantity_field_1');return hikashopModifyQuantity('13',field,1,0,'cart',0)"&gt;Add to cart&lt;/a&gt;

Thanks for any help

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84NjY1ODUtYWRkLXRvLWNhcnQtYnV0dG9uLW5vdC13b3JraW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) 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: 86359
- Thank you received: 14296
-
-

12 years 7 months ago [\#148040](#148040) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[  € 70,00     Update, support and services: Essential                  [Add to cart](/component/hikashop/product/updatecart/add-1/cid-13?Itemid=208)        ](/forum/3-bug-report/866585-add-to-cart-button-not-working#148040 "Hi,  We're having a serious issue with the business edition on the button that is added to the article. The button renders perfectly but links to the homepage of the site. The product doesn't have any special or custom fields applied - it's a simple product with price rendered through:  &lt;div id=")*

This is the link that is rendered in the add to cart button: Add to cart Thanks for any help" class="hasTooltip topictitle"&gt;Add to cart button not working

Hi,

Please provide a link to the page with the issue so that we can analyze the problem.

The following user(s) said Thank You: [mcruip](/forum/user/12482-mcruip "View mcruip's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84NjY1ODUtYWRkLXRvLWNhcnQtYnV0dG9uLW5vdC13b3JraW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 58
- Thank you received: 2
-
-

12 years 7 months ago [\#148081](#148081) by [mcruip](/forum/user/12482-mcruip "View mcruip's Profile")  Replied by *[mcruip](/forum/user/12482-mcruip "View mcruip's Profile")* on topic *[  € 70,00     Update, support and services: Essential                  [Add to cart](/component/hikashop/product/updatecart/add-1/cid-13?Itemid=208)        ](/forum/3-bug-report/866585-add-to-cart-button-not-working#148081 "Hi,  We're having a serious issue with the business edition on the button that is added to the article. The button renders perfectly but links to the homepage of the site. The product doesn't have any special or custom fields applied - it's a simple product with price rendered through:  &lt;div id=")*

This is the link that is rendered in the add to cart button: Add to cart Thanks for any help" class="hasTooltip topictitle"&gt;Add to cart button not working

Hi Nicolas,
Thanks for the reply. The issue happened if the cart button was added inside a nested div in article. Placing it in a clean area the button works.
Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84NjY1ODUtYWRkLXRvLWNhcnQtYnV0dG9uLW5vdC13b3JraW5nP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) 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.059 seconds

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