Please help.

My online store's shopping cart is not working on all pages. I cannot go to the checkout page after I added an item to the cart, the store's cart is always empty.

enter image description here

When I check the console that's the error that shows up. I think that this error is what's causing the cart to not function.

enter image description here

Please help

  • Try to disable all third party extension one by one and then check. so you get idea from where that conflict comes. Commented Jun 14, 2021 at 10:29
  • I am new to Magento. The only way I know how to disable modules is to go to Admin >> Stores >> Settings >> configuration >> system >> advanced. Is that how I can disable them? Commented Jun 14, 2021 at 11:43
  • Go to app/etc/config.php and disable a module by changing it's value from 1 to 0. Commented Jun 14, 2021 at 12:29
  • Thank you. I am trying it now Commented Jun 14, 2021 at 12:58

1 Answer 1


Please check the file system permissions and perform the proper deployment steps


Deployment steps:

Update the database schema and data: bin/magento setup:upgrade

Exit maintenance mode: bin/magento maintenance:enable

Compile the code: bin/magento setup:di:compile

Deploy static content: bin/magento setup:static-content:deploy

Clean the cache: bin/magento cache:clean

Exit maintenance mode: bin/magento maintenance:disable

  • Thanks for the answer. I tried it but unfortunately, it did not work Commented Jun 14, 2021 at 13:06

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.