TIPOFF / checkout

Laravel Package for Ecommerce Checkouts
MIT License
0 stars 1 forks source link

Required User #29

Closed drewroberts closed 3 years ago

drewroberts commented 3 years ago

The cart requires registration as a user. No guest cart creation allowed. This is an opinionated implementation that I want to force with this package.

The user is the customer. It may not be the person processing the order if a staff member at the company is going through the checkout process for a customer that calls into the business.

drewroberts commented 3 years ago

Cart #34 and Order #32

pdbreen commented 3 years ago

At what point is the user required? Prior to adding something to the cart? Or, only when attempting to complete a purchase?

Registration requirement to add to cart creates "friction" in the browsing experience and is generally not recommended as it risks lowering conversion rate.

drewroberts commented 3 years ago

User registration is required when adding an item to the cart. I agree that this creates additional friction in the checkout process. In the opinionated implementation of this checkout package, that friction is worth it for the gains it enables by allowing the application to follow-up on Abandoned Carts #43

pdbreen commented 3 years ago

Cart (and order) migrations contain a non-nullable user FK relation.

https://github.com/tipoff/checkout/blob/main/database/migrations/2020_05_05_050000_create_carts_table.php