Grain Mall - Basics - Commodity Services 3 - SPU and SKU (P70)


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_attrAttribute table under pms database , pms_attr-groupattribute grouping table

  • attr-group-id: group number
  • catelog-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.

7. Attribute relationship-specification parameter-sales attribute-three-level classification association relationship

insert image description here


8. SPU-SKU attribute table

insert image description here


Guess you like

Origin blog.csdn.net/ljn1046016768/article/details/124597155