Cannot add item to cart but no error msg after the php upgarde.
And the console network showed that magento/ajaxcartpro/cart/ 404 not found when I add item to cart.
Many thanks!
Solved! Go to Solution.
Hello @cheung_hoi ching2
seems like form key issue check that controller is that checking formkey and then is your code passing formkey or not.
Can you please confirm that, have you migrated this site from another server?
Thanks
Hello @cheung_hoi ching2
seems like form key issue check that controller is that checking formkey and then is your code passing formkey or not.
No, but the apache also upgraded.
The first time of add to cart is fine in a incognito window.
But cannot add to cart after that.
Maybe the cart form problem.
The error showed in console:
jquery.js:10254 GET https://www.xxxxx/magento/ajaxcartpro/cart/ 404 (Not Found)
and in line 10254: xhr.send( ( options.hasContent && options.data ) || null );
Many thanks!
@PankajS_Magento I am also facing the same issue when migrated from one server to other,Please suggest me what could be cause
Did you find a solution for this? I am facing same issue