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

#   WRONG product added to cart

##

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

Less More

- Posts: 14
- Thank you received: 0
-
-

13 years 8 months ago [\#89719](#89719) by [sydneyartschool](/forum/user/5329-sydneyartschool "View sydneyartschool's Profile")  *[WRONG product added to cart](/forum/3-bug-report/78283-wrong-product-added-to-cart#89719 "When using the add to cart button from the product page the WRONG product is added to cart.  Have spent many hours trying to troubleshoot why this is the case.  For the moment my workaround is to disable all &quot;link to product listing&quot; on content display modules and only allow add to cart from those modules. (the correct product seems to be added to cart from there)  You can see the fault live at ...    weddinginc.net.nz/component/content/arti...eneral/24-login.html  (You will need to create a user account and then log in. I have created a menu that is only available to registered users called &quot;demo&quot; where you can then see the behaviour)")* was created by *[sydneyartschool](/forum/user/5329-sydneyartschool "View sydneyartschool's Profile")*

When using the add to cart button from the product page the WRONG product is added to cart.

Have spent many hours trying to troubleshoot why this is the case.

For the moment my workaround is to disable all "link to product listing" on content display modules and only allow add to cart from those modules. (the correct product seems to be added to cart from there)

You can see the fault live at ...

[ weddinginc.net.nz/component/content/arti...eneral/24-login.html](http://weddinginc.net.nz/component/content/article/2-general/24-login.html)

(You will need to create a user account and then log in. I have created a menu that is only available to registered users called "demo" where you can then see the behaviour)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC83ODI4My13cm9uZy1wcm9kdWN0LWFkZGVkLXRvLWNhcnQ/dG1wbD1tYXJrZG93bg==) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86292
- Thank you received: 14271
-
-

13 years 8 months ago [\#89872](#89872) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[WRONG product added to cart](/forum/3-bug-report/78283-wrong-product-added-to-cart#89872 "When using the add to cart button from the product page the WRONG product is added to cart.  Have spent many hours trying to troubleshoot why this is the case.  For the moment my workaround is to disable all &quot;link to product listing&quot; on content display modules and only allow add to cart from those modules. (the correct product seems to be added to cart from there)  You can see the fault live at ...    weddinginc.net.nz/component/content/arti...eneral/24-login.html  (You will need to create a user account and then log in. I have created a menu that is only available to registered users called &quot;demo&quot; where you can then see the behaviour)")*

Hi,

In the "Price &amp; enrollment" tab of your product page, you have a hikashop products listing module with add to cart buttons. That conflicts with the main add to cart button of the product page and it's a product from the listing module which is added to the cart instead of the main product of the page.
That's because the add to cart button form covers the whole product page, and you cannot have forms into other forms in HTML.

To avoid that, either deactivate the add to cart buttons of the products listing module inside the description or remove the module from the description and enable that module in the "modules under the product page" option of the configuration so that it displays below the product page and not inside it.

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

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

[](#top)
