0

I have setup magento 2.3.3 on server php 7.2. All buttons working fine on product detail page but Add to Cart button not adding product in cart. Same is working fine on local pc xampp but not working on server.

I have removed all form var/cache, clear cache, setup:static-content:deploy etc but not fixed

Below is the url where i am getting error:

https://bigbest.in/index.php/airtel-4g-hotspot-e5573cs-609.html

Please help!

Thanks

Abdul Samad Abbasi
8301 gold badge7 silver badges20 bronze badges
asked Dec 31, 2020 at 9:00

1 Answer 1

0

Here is the possibilities for not working add to cart :

  1. Double check your secure/base secure URL's
  2. Try disabling custom modules where some of them have extends funcionality for addtocart or might have syntax issue.
  3. Try with setup:up, setup:di:compile and setup:static-content:deploy commands

Below is the steps to rectify the issue :

  1. Check var/log/system.log
  2. Check var/reports/latestreport file
answered Dec 31, 2020 at 9:39
2
  • Thanks for reply. 1)secure/base secure URL's are fine and same. 2)Also i have done all above your advise setup:up, setup:di:compile and setup:static-content:deploy but still not work. 3)There is not generate any log/report. Please help Commented Dec 31, 2020 at 10:23
  • @Joy try with UPDATE core_config_data SET value = REPLACE(value, '<old root URL or domain>', '<new root URL or domain>') WHERE path = 'design/head/includes'; and then rm -rf var/cache/* Commented Jan 1, 2021 at 1:05

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.