longclaw
longclaw copied to clipboard
Customer Profile
Description
A customer profile model will allow storing address', order history, preferred payment method etc against a particular 'person'
Few things to consider:
- I think a
CustomerProfile
object should have a one to one relationship with theUser
model. - If the user is not authenticated and checks out, should we create customer profile for them (or give the option to). We will still have an email address and shipping address which would be useful to store
- The
Order
model should be updated to have foreign key to the customer profile. How will this work? How do we handle authenticated/non authenticated users making orders? - Integration with user accounts. Wagtail already has 2 default permission groups (editors and moderators), we should probably add another default -
customers
. Essentially a customer wont have permission for anything
When will this improvement be released?