Define the ecommerce core entities first
The core model usually includes customers, products, carts, orders, payments, and inventory, each with different lifecycle and ownership rules.
Customers and products usually behave as foundational entities.
Orders and payments are transactional records that must preserve history.
Inventory often needs operational tables distinct from catalog tables.