The "Add to cart" button changes to "adding" and stays like that. It does nothing after that.It doesn't work from anywhere not even product details page.
Magento 2 products not being added to cart
4.8k Views Asked by Ali Rehman At
2
There are 2 best solutions below
Related Questions in MAGENTO
- file_get_contents(): file created in the system's temporary directory error in Magento
- Decrypting Magento 2 customer passwords using email for migration to Shopify
- Is it possible in magento multi store website to get all category of all the store with single api
- Venia pwa + magento 2 categories and products issue
- Magento Rest Api Recaptcha Validation Failed Error
- Credit card fields showing under PayPal Express Checkout
- Unable to create a Specific coupon code in magento using REST API
- Mutagen copy multiple times project (4 copy of the same project)
- Magento 2 , query insert/update statments not binding with '?' variables
- Warning: session_id(): Cannot change session id when session is active
- System.ServiceModel.CommunicationException on WCF Web Service
- [{message: "Cannot query field "route" on type "Query".", extensions: {category: "graphql"},…}]
- Data written to PVC using job pod is not available in main POD
- Magento Order and Product pagination
- Trying to Upgrade Magento from ver. 2.3.4 to ver. 2.4.6 and causing Composer installation error
Related Questions in MAGENTO-2.0
- get list of items from sku magento 2 programatically
- Uncheck "Use Default Value" Check in the Website Scope Magento 2
- Magento2 hide custom shipping method based on product attribute
- Magento 2: Add Image to the Customer Account Navigation Menu
- Magento 2 checkout_onepage_controller_success_action event not fired
- I am facing jquery uncaught error while using google analytics code for pdf
- Product details page changes are not reflecting in magento 2
- In app getting 400 Bad request in api response
- Magento 2.3.2 - Custom attribute address deleted when click on Pay with paypal express checkout
- How to manipulate product price in magento 2?
- Magento 2 Create Shipping Method with Delivery Options
- Magento 2 JS libraries sometimes don't load
- Trying to run magento locally getting : Magento supports PHP 7.1.3 or later. Please read Magento System Requirements, when i have 7.2.18 installed
- Admin Menu doesn't slide out and configuration menue doesn't open. Also buttons not working
- SalesOrderQuery in QuickBooks Desktop does not returning All order information
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?

Change your base URL from
localhostto127.0.0.1.Using
localhostas the domain in your base URL causes problems in Magento 2.Magento's base URL configuration is located in the
core_config_datatable. The followingvalues may need to be changed:web/unsecure/base_urlweb/secure/base_urlFor example, if you previously had
http://localhost/yourproject/, you should change it tohttp://127.0.0.1/yourproject/After changing the url, flush the cache (
bin/magento cache:flush). You might also need to clear out your var directories.