Foxy / foxy-elements

Elements and resources for use in other front-end code, like the admin and customer portal.
https://elements.foxy.dev
MIT License
7 stars 8 forks source link

Add a `CustomerRegistrationForm` element, for use within the customer portal as well as standalone #143

Closed brettflorio closed 8 months ago

brettflorio commented 10 months ago

Since introducing the customer portal, we've had many requests to allow customers to register separately from the checkout. This makes sense, even if it's not something we've "traditionally" supported via common use cases. The portal really allows for a ton of extra functionality, however.

Broadly, a customer registration form should address at least the following use cases:

  1. Within the Foxy customer portal. Customers can login, or customers can create a new account.
  2. Standalone. This use case is more for specific order flows where a customer may need to register and be approved for a tax-exempt account (common) or other specific customer-registration order flow requirements.

Details

The Element Itself

Within the Portal

Standalone

Basically the same as the "within the portal" functionality, but on successful customer registration, we need to allow for the admin to do one of the following:

pheekus commented 8 months ago

Released in 1.24.0 as part of foxy-customer-form and foxy-customer-portal.