Add a DOB (date of birth) section at checkout!

Highlighted
New Member
11 0 0

Hi there,

 

  can anyone help me with this?

i found this on the subject but unsure how to do it?!

https://help.shopify.com/themes/customization/communication/get-more-information-with-customer-regis...

 

thanks a lot for your help!

 

Anissa

0 Likes
Highlighted
Shopify Partner
1227 5 80

Hi Anissa,

There is an article on how to capture a delivery date on the cart page: https://help.shopify.com/themes/customization/cart/add-date-picker-for-delivery-dates

You can use the same technique for capturing a DOB, just would just need to change the label and the name of the attribute, so it would end up looking like this:

    <div style="width:300px; clear:both;">
      <p>
        <label for="date">Date of Birth:</label>
        <input id="date" type="text" name="attributes[dob]" value="{{ cart.attributes.dob }}" />
      </p>
    </div>

HTH, Gavin.

www.bookthatapp.com
0 Likes
Highlighted
New Member
1 0 0

Digging this up from a couple of years ago. Did you have any success? I need to capture DOB as a part of South Australian liquor licensing laws, but it would also be advantageous so that I can target customers for birthdays. I'm using Marsello for loyalty, which can utilise DOB for auto EDMs, but I can't see any way to collect DOB on shopify.

 

This code would be great, but I don't know where to start: https://www.jqueryscript.net/time-clock/Minimalist-jQuery-Plugin-For-Birthday-Selector-DOB-Picker.ht...

 

Happy to pay an expert.

0 Likes
Highlighted
New Member
1 0 0

hey Jamie - ever find a solution here? thanks!

0 Likes