Hi,
Whenever I'm trying to add a configurable product from the category page, it redirects me to the product page & showing an error message "You need to choose options for your item."
Steps to reproduce:
Visit https://traida.co.uk/men.html
Try to add any configurable product by selecting all the required options.
It'll show that the product is being added to the cart but after a few seconds it will redirect to that product page.
I'm new to Magento, please help me to fix the issue.
Hello @adhikaryta64aa
Try to flush cookie and browser cache, then go to product page, select required fields and add to cart. Its working at my end.
Hi @adhikaryta64aa ,
Please compare it with default Magento Luma theme product list add to cart.
Please see attached screenshots for your reference.
In luma theme add to cart request you can see super attribute details in payload
While from your site when you hit add to cart from list page super attribute details not passing and because of that product add to cart not working from product list page and it's redirecting you to pdp page.
Problem Solved? Accept as Solution!
Hope it helps!
Thanks