commerce icon indicating copy to clipboard operation
commerce copied to clipboard

No email field on custom checkout form

Open cpv123 opened this issue 2 years ago • 2 comments

The custom checkout does not include a field to collect the customer's email address. This would be useful for the Commerce.js provider and likely useful for other providers using custom checkout given that collecting email is common.

Currently, there are sections for "payment" and "shipping", and so I'm not sure where is best to add the email field. I will create a PR to implement this, assuming that there are no concerns with this feature. And any suggestions for where the field should go would be much appreciated 🙏


Screenshot 2564-12-17 at 11 47 23

cpv123 avatar Dec 17 '21 11:12 cpv123

Sounds good! We'll await for the PR.

okbel avatar Mar 16 '22 14:03 okbel

Yes, this would also be necessary for the proper checkout flow in the Vendure provider.

michaelbromley avatar May 26 '22 15:05 michaelbromley

Hey there! Thank you for opening this issue. We have decided to take Next.js Commerce in a new direction and will be closing out current PRs and issues due to this change. Please see this PR for more details: https://github.com/vercel/commerce/pull/966

leerob avatar Apr 18 '23 02:04 leerob