I recently created a configurable product, when I select any of the size and color from catalog page then click add to cart button, it will redirect to the cart page.

Not Added any item in my Cart.

So any suggestions please?

  • Something related to caching or cookie. Can you please try the same on private browser? Commented Jun 14, 2018 at 7:33
  • @SukumarGorai i've using Firefox private window, same result. Commented Jun 14, 2018 at 7:35
  • Can you disable the ajaxcart extension you are using for testing purpose and try again? Commented Jun 14, 2018 at 7:35
  • @SukumarGorai i've disable the ajaxcart extension, same result. Commented Jun 14, 2018 at 7:46

1 Answer 1


There are two reasons, the issue is occurring

First form_key is not working when we have tried to cart. Maybe Cookie setting issue or might be some extension going invalid the form key. Please check the all 3rd party extensions.

Second, any exception is happing during add to cart, enable Magento log an d check and those errors.

  • No any error in log file. Commented Jun 14, 2018 at 7:49
  • Check request goto to github.com/magento/magento2/blob/2.2-develop/app/code/Magento/… at here
    – Amit Bera
    Commented Jun 14, 2018 at 7:52
  • My problem is the form key, i've using catalog ajax scroll when scrolling a new products appear in the page and when adding it to cart it redirect to cart page and the product not added so i've disable ajax catalog scrolling and it's working perfectly but what is the solution for that? Commented Jun 14, 2018 at 8:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.