Ticket #24971 - Add to cart does nothing for specific client
Yesterday came upon a new problem. A client first registered and logged in and only then started to try to add products to cart. For her the add to cart button does nothing. Luckily she reported this problem to me but I don’t know how many clients I have lost due to this!
Checked the error log and have had a similar line for a week now. Here are some logs, that could be related to this issue (because I receive them the minute I try to replicate the situation):
[09-Oct-2023 03:35:14 Etc/GMT+2] PHP Notice: Undefined index: name in /home/cottonstore/public_html/var/cache/prod/smarty/compile/alysum/4a/55/a3/4a55a35a25b991c903d5c272a30545cf10056d78_2.file.customer-form.tpl.php on line 52
[09-Oct-2023 03:35:14 Etc/GMT+2] PHP Notice: Undefined index: type in /home/cottonstore/public_html/var/cache/prod/smarty/compile/alysum/19/c7/52/19c752f5924e7a7707e3fa6ac8c2845ce3fc168e_2.file.customer-form.tpl.php on line 58
The same happens both from desktop and mobile versions. And as soon as the client logs out, the add to cart button works again.