You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For newly created configurable products, the ajax add to cart is not working in list page. Instead it redirect to the product detail page. While checking about this, in run time the product object instance is having the field(Not a product attribute) name required_options. This field is set as 'true' for all the cases while creating and editing a product. If this field is enabled it will redirect to product detail page and if it is disabled the ajax cart url will be provided the button. So the product will add to the cart without redirecting itself. I don't know why this field is enabled even if we select all the options for the configurable product.
Preconditions:
Ubuntu 16.04
Magento 2.1.7
Steps to reproduce:
Create a configurable product with configurable options(virtual products).
In front end go to the category page which is having the created configurable product
Select configurable options(size, color...) and click Add to Cart button.
Expected result:
Should be added in to the cart without loading itself(AJAX).
Actual result:
It redirects to the product detail page and asks again to choose the options.
Any comments and suggestion would be appreciated.
Thanks,
The text was updated successfully, but these errors were encountered:
Hi all,
For newly created configurable products, the ajax add to cart is not working in list page. Instead it redirect to the product detail page. While checking about this, in run time the product object instance is having the field(Not a product attribute) name required_options. This field is set as 'true' for all the cases while creating and editing a product. If this field is enabled it will redirect to product detail page and if it is disabled the ajax cart url will be provided the button. So the product will add to the cart without redirecting itself. I don't know why this field is enabled even if we select all the options for the configurable product.
Preconditions:
Steps to reproduce:
Expected result:
Actual result:
Any comments and suggestion would be appreciated.
Thanks,
The text was updated successfully, but these errors were encountered: