Home > Backend Development > PHP Tutorial > javascript - ThinkPHP implements product color attributes

javascript - ThinkPHP implements product color attributes

WBOY
Release: 2016-09-14 09:41:24
Original
1151 people have browsed it

How to enable different merchants to add different colors when adding products in ThinkPHP.

Reply content:

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template