Hi all,
I’d like to add date of birth to the cart to capture this information for birthday marketing.
I’ve been told I may need to edit some code to add this in? Could someone please assist?
What code and where?
Any help is much appreciated.
Hi all,
I’d like to add date of birth to the cart to capture this information for birthday marketing.
I’ve been told I may need to edit some code to add this in? Could someone please assist?
What code and where?
Any help is much appreciated.
Step1: look for the cart.liquid file under Sections or Templates. The file location might vary depending on your theme. Sometimes, it could be named cart-template.liquid or similar.
Step2: Find the place in the code where the cart form starts, usually within a tag.
Step3: Add the following code to include a Date of Birth field:
Hopefully it will help you. If yes then Please don’t forget hit Like and Mark it as solution!
Thankyou for your reply. I cant seem to find what page is correct. I’ve tried updated a few of them with cart.liquid, Cart-template.liquid or Ajax-cart.liquid. Nothing seems to modify it when I add that code in.
Can you assist in inspecting this page?
I can’t find it. I can try to help you add this feature. So I need to access your store as a collaborator if possible.
Sure, how do we go about doing that?