Designing a Basic Product Model for E‑commerce Systems
The article analyzes the evolution of e‑commerce product modeling, introduces categories, brands, and attribute‑based filtering, distinguishes products from SKUs, and proposes a backend‑centric data model that supports flexible search, display, and integration with other business services.
In e‑commerce systems the product model is a core component; this article walks through a simple analysis and design of a foundational product model.
Initially, many sites inherited a CMS‑style category‑article structure, treating categories as product classifications and articles as products, which later proved insufficient when brand information needed to be added.
To meet user expectations for browsing by brand or category and for refined filtering, a UI with multiple filter criteria was introduced, prompting a shift to an attribute‑based design where each category can have its own set of attributes and options.
The relationship is illustrated as: a category maps to several attributes, each attribute maps to multiple attribute options, and a concrete product maps to specific attribute options (e.g., a pair of jeans with a 7‑point length and straight cut). Price is also treated as an attribute rather than a simple field.
Further analysis distinguishes between “product” and “SKU” (stock‑keeping unit): different specifications such as color, size, or storage capacity represent separate SKUs under a single product, with specifications handled as attribute options.
With this model, basic product search, display, and indexing requirements are satisfied, and the product module can be isolated as a “product center” service that handles queries, updates, and publishing while collaborating with user, order, and payment systems.
Full-Stack Internet Architecture
Introducing full-stack Internet architecture technologies centered on Java
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.