With the addition of Email Address (TIPOFF/authorization#57) and the conversion of the User model (TIPOFF/authorization#20) to rely on it, I want to change the way we are handling User Creation during the Checkout Flow. Instead of creating a new User when the Cart (#34) is created, I want to wait and create the new User when the Order (#32) is created.
Therefore, a Cart will belong to an Email Address. I no longer need the first name & last name when creating a Cart, just an Email Address for it. When an item is added to the Cart, the website visitor will be redirected to a screen that simply says:
Please enter your email address to save your cart items:
We will then need to add the first name and last name fields to the Checkout page to process an Order.
Cart will still have a relationship with User, just through the Email Address model. It will only be for the percentage of Carts that have processed an Order. This will reduce the number of Users that are created in the application.
With the addition of Email Address (TIPOFF/authorization#57) and the conversion of the User model (TIPOFF/authorization#20) to rely on it, I want to change the way we are handling User Creation during the Checkout Flow. Instead of creating a new User when the Cart (#34) is created, I want to wait and create the new User when the Order (#32) is created.
Therefore, a Cart will belong to an Email Address. I no longer need the
first name&last namewhen creating a Cart, just an Email Address for it. When an item is added to the Cart, the website visitor will be redirected to a screen that simply says:We will then need to add the
first nameandlast namefields to the Checkout page to process an Order.Cart will still have a relationship with User, just through the Email Address model. It will only be for the percentage of Carts that have processed an Order. This will reduce the number of Users that are created in the application.