How to enable different merchants to add different colors when adding products in ThinkPHP.
How to enable different merchants to add different colors when adding products in ThinkPHP.
This...different products have different colors? If you upload 1,000 products, do you also need to get 1,000 colors? I think you can set this to 10 or 20 color attributes, as long as you set the colors for different products randomly or sequentially. Besides, if there are many products, you will definitely have paging logic, and one page will display 10 or 20 Each product can be guaranteed to have different colors, right?
Add an attribute table corresponding to the product