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
1 Answer 1
Here is the possibilities for not working add to cart :
- Double check your secure/base secure URL's
- Try disabling custom modules where some of them have extends funcionality for addtocart or might have syntax issue.
- Try with
setup:up,setup:di:compileandsetup:static-content:deploycommands
Below is the steps to rectify the issue :
- Check var/log/system.log
- Check var/reports/latestreport file
-
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 helpJoy– Joy2020年12月31日 10:23:07 +00:00Commented 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 thenrm -rf var/cache/*SagarPPanchal– SagarPPanchal2021年01月01日 01:05:50 +00:00Commented Jan 1, 2021 at 1:05