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

javascript - ThinkPHP implements product color attributes

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-09-14 09:41:24
Original
1187 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:
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
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template