WRONG product added to cart

  • Posts: 14
  • Thank you received: 0
11 years 9 months ago #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 "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

(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 or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
11 years 9 months ago #89872

Hi,

In the "Price & 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 or Create an account to join the conversation.

Time to create page: 0.040 seconds
Powered by Kunena Forum