Fix Magento 2 Add to Cart Issue and cors headers error

Job ID: 39486231

Budget: €30 – €250 EUR

I am facing an 'invalid form key' error on my Magento 2 store when adding products to the cart. This issue is preventing customers from completing their purchases, significantly impacting sales. Also via chrome console I can see there is a CORS headre error.

Requirements:
- Troubleshoot and resolve the 'invalid form key' error on the 'add to cart' action and cors header error.
- Ensure the checkout process functions smoothly post-fix and cors header working fine
- Need a report of file edited and what has been done.

Ideal Skills & Experience:
- Proficiency in Magento 2
- Experience with troubleshooting form key issues
- Familiarity with checkout process configuration

Looking forward to your solutions!
Related categories: PHP JavaScript CSS Magento HTML