Home  >  Article  >  Backend Development  >  How to design PHP product library SPU and SKU?

How to design PHP product library SPU and SKU?

WBOY
WBOYOriginal
2016-09-08 08:43:531832browse

The product library design of my current system is really bad. Product specifications, colors, and models are all fixed fields. As a result, N products of the same product with different colors need to be recorded. For example, an Apple 6 needs to be recorded separately. Products in various colors (Apple 6 gold, silver, black).

After reading the concept of SPUSKU online, I feel it should be the perfect solution.

Because of the dish, I would like to ask some masters to tell me how to design this piece well. Give me some ideas, or if there are good open source projects, I'll take a look.

Reply content:

The product library design of my current system is really bad. Product specifications, colors, and models are all fixed fields. As a result, N products of the same product with different colors need to be recorded. For example, an Apple 6 needs to be recorded separately. Products in various colors (Apple 6 gold, silver, black).

After reading the concept of SPUSKU online, I feel it should be the perfect solution.

Because of the dish, I would like to ask some masters to tell me how to design this piece well. Give me some ideas, or if there are good open source projects, I'll take a look.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn