Table of contents
- 1. Commodity service-API-SPU and SKU
-
- 1、SPU
- 2、SKU
- 3. Specification parameters (basic attributes)
- 4. Sales attribute
- 5. Basic attributes [specification parameters] and sales attributes
- 6. pms database table
- 7. Attribute relationship-specification parameter-sales attribute-three-level classification association relationship
- 8. SPU-SKU attribute table
Commodity service - SKU and SPU
1. Commodity service-API-SPU and SKU
1、SPU
standard product unit
(Standardized product unit): It is the smallest unit of commodity information aggregation, and it is
a set of reusable and easy-to-retrieve standardized information, which describes the characteristics of a product.- Such as iphoneX is SPU
2、SKU
stock keeping unit
(Inventory unit): The basic unit of inventory in-out measurement, which can be件/盒/ 托盘
equal to the unit.- SKU is a necessary method for the logistics management of DC distribution centers of large supermarket chains.
- Now it has been extended to the abbreviation of product unified number, and each product corresponds to a unique SKU number.
- For example, iphoneX 64G black is the SKU
3. Specification parameters (basic attributes)
- The characteristics owned by the same SPU are called basic attributes.
- Such as the length of the fuselage, this is an attribute shared by mobile phones. And every
- The property values are different for different phones
4. Sales attribute
- The sales attribute that can determine the inventory quantity (SKU) is called. such as color
5. Basic attributes [specification parameters] and sales attributes
Commodities under each category 共享规格参数
, and 销售属性
. It’s just that some products don’t necessarily need to use
all the attributes under this category;
- Attributes are organized in three levels of classification
- Some of the specs are
提供检索
ok - Specification parameters are also basic properties, they have
自己的分组
- The grouping of attributes is also organized in a three-level classification
- The attribute name is determined, but the value is determined by each product.
6. pms database table
pms_attr
Attribute table under pms database , pms_attr-group
attribute grouping table
attr-group-id
: group numbercatelog-id
: What kind of category, such as mobile phone
Find spu-id, attr-id according to the product
- First find the corresponding attribute group by classification, and then find the owned attributes according to the attribute group.