I am operating my business in India and courier companies require the customer's phone number in order to confirm deliveries. Some courier companies also require an email address in addition to the phone number. Currently the checkout form only allows me to capture either the phone number or the email address. I went through the support pages but the mandatory phone number field seems to be removed.
Could you please explain how I can make the phone number field mandatory and also provide and optional email field.
Solved! Go to the solution
Hope you are doing well!
I came across you post and there is a field with the name 'Shipping address phone number' that can be made required under Settings >> Checkout.
Please see attached screenshot for better understanding. Hope it helps! Please let me know of any further concerns.
This is an accepted solution.
Hi @Perfumebaba ,
Dani here from Shopify!
This is a great question and @Qualitycheck is correct. You can actually set both phone number and email to be mandatory in your checkout settings. To navigate here go to Settings > Checkout. On this page in the Customer Contact section, if you'd like email to be optional select the option to let customers checkout with phone number or email. If you'd prefer email be mandatory then select the option that customers can only checkout with email. In the next section, you'll want to ensure that shipping phone number is selected as required.
You can mix these two sections to your liking to make both email and phone number required, or just phone number required with email as optional.
Let me know if you have any questions, or if you don't see these options in your checkout settings. I can take a closer look into your account if needed.
All the best,
Dani | Social Care @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Click Accept as Solution
Thanks for the solution, I have implemented it on our store and it works. Both email and phone number are mandatory.
Now I have another issue. When the customer adds their email address in the top (email or phone number) input box and their phone number in the bottom (phone number) input box with their billing address details, the email is stored against the customer record and phone number stored against the address record.
This is an issue with customer alerts when purchasing a gift card. They get the email alert of the purchase, but as there is no phone number against their customer record (only linked to their address record) they do not get an SMS/text alert of their order and link to their gift card.
How can I keep the existing config for mandatory email and phone number, but ensure the address phone number is stored against the customer record (I am happy for it to stay with the address record and be attached to both customer and address or change so it is only against the customer record).
Thank you in advance.