Skip to content

Importing custom user/customers and orders #1201

Closed Answered by duncanmcclean
ee-forge asked this question in Help
Discussion options

You must be logged in to vote

Out of the box, Simple Commerce stores customers separately from your Statamic users. However, you can make it use Statamic users instead, which sounds like it might be the route you'd want to go down.

  1. What is the connection in the DB between a User and a Customer? Is the customer ID the user ID?

Assuming you're using Statamic users as your customers, it would be the user ID.

  1. Is the assumption that it makes the most sense to store custom User data (i.e. a stored address and phone number) on the User model rather than the customer model correct?

Yes, if you're using Statamic users as your customers, you would add columns/fields to the User model.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ee-forge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants