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

#   Wrong product in cart

##

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

Less More

- Posts: 19
- Thank you received: 0
-
-

15 years 6 months ago [\#12937](#12937) by [cosmo](/forum/user/1764-cosmo "View cosmo's Profile")  *[Wrong product in cart](/forum/4-how-to/12937-wrong-product-in-cart#12937 "For some reason my &quot;Add to cart&quot;-button on the product listing page doesn't work correctly. When I use the button &quot;Add to cart&quot; (&quot;In winkelmandje&quot;) the wrong product is added to the cart. It looks...")* was created by *[cosmo](/forum/user/1764-cosmo "View cosmo's Profile")*

For some reason my "Add to cart"-button on the product listing page doesn't work correctly. When I use the button "Add to cart" ("In winkelmandje") the wrong product is added to the cart. It looks like it's adding the first product on the page. My page is [ here](http://www.arjendegroot.nl/index.php?option=com_hikashop&view=product&layout=listing&Itemid=9)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzEyOTM3LXdyb25nLXByb2R1Y3QtaW4tY2FydD90bXBsPW1hcmtkb3du) 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: 86289
- Thank you received: 14265
-
-

15 years 6 months ago [\#12952](#12952) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Wrong product in cart](/forum/4-how-to/12937-wrong-product-in-cart#12952 "For some reason my &quot;Add to cart&quot;-button on the product listing page doesn't work correctly. When I use the button &quot;Add to cart&quot; (&quot;In winkelmandje&quot;) the wrong product is added to the cart. It looks...")*

That's because you customized the view and then updated. You need to edit the file listing_img_desc of the view product that you customized to add the line below at the beginning:
$this-&gt;ajax='';

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

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

Less More

- Posts: 19
- Thank you received: 0
-
-

15 years 6 months ago [\#12956](#12956) by [cosmo](/forum/user/1764-cosmo "View cosmo's Profile")  Replied by *[cosmo](/forum/user/1764-cosmo "View cosmo's Profile")* on topic *[Re: Wrong product in cart](/forum/4-how-to/12937-wrong-product-in-cart#12956 "For some reason my &quot;Add to cart&quot;-button on the product listing page doesn't work correctly. When I use the button &quot;Add to cart&quot; (&quot;In winkelmandje&quot;) the wrong product is added to the cart. It looks...")*

You're right. I'm sorry, indeed I edited and uploaded an older version of the file. Thanks!

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

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

[](#top)
