- Priority: 0
- Status: Closed
- Theme: Alysum
-
Assigned To:
Fred
- Private: No
- Open Date: 18.10.23, 09:17
- Opened by: Nicolas Bindels
- Closed by: Anonymous Submitter
- Closed on:
- Reason: Not a bug
Ticket #24988 - When removing birthdate from the checkout, a warning appears
When you disable asking the birthdate of the client in the checkout form, and error starts showing up:
Warning: Undefined array key “name” in /var/www/html/var/cache/dev/smarty/compile/alysum/77/f2/49/77f24993e363501c14562cd4daa385062e5aec48_2.file.customer-form.tpl.php on line 52
Warning: Undefined array key “type” in /var/www/html/var/cache/dev/smarty/compile/alysum/53/0b/45/530b457a73d3245f2cea1feadb3ee45ec9525017_2.file.customer-form.tpl.php on line 58
PrestaShop v8.1.2
Please advise on how to fix this without hiding PHP warnings.
Comments
Hi, Nicolas.
Can you please give me a link to a page where I can see the issue?
You need to put an item in your cart and go to the order page (https://inwood.be/commande)
Yes, I see the issue.
Please fill out all necessary fields in your profile https://support.promokit.eu/myprofile to access to your Back-office and FTP Server to let me try to fix it
Shall I edit checkout TPL?
Yes, to fix the issue we have to edit tpl file
I’ll do it, just tell me which one :)
Ok, I fixed it, I changed themes/alysum/templates/customer/_partials/customer-form.tpl from:
to:
that seems to fix it :)
I wanted to send you fixed file, but you were first.
Ok, I’m glad you fix it. Sorry for the late reply