码迷,mamicode.com
首页 > 其他好文 > 详细

lightinthebox 批量设置分类产品排列方式为List、Grid、Gallery

时间:2014-09-15 14:06:58      阅读:175      评论:0      收藏:0      [点我收藏+]

标签:style   blog   color   div   sp   log   on   c   sql   

lightinthebox 批量设置分类产品排列方式为Grid

categories_type = ‘1‘表示List,2表示Grid,3表示Gallery方式

设置单个分类
UPDATE categories SET categories_list_types = ‘1‘ WHERE categories_id =1;
UPDATE categories SET categories_list_types = ‘2‘ WHERE categories_id =1;
UPDATE categories SET categories_list_types = ‘3‘ WHERE categories_id =1;

设置全部
UPDATE categories SET categories_list_types = ‘1‘;
UPDATE categories SET categories_list_types = ‘2‘;
UPDATE categories SET categories_list_types = ‘3‘;

 

lightinthebox 批量设置分类产品排列方式为List、Grid、Gallery

标签:style   blog   color   div   sp   log   on   c   sql   

原文地址:http://www.cnblogs.com/afish/p/3972600.html

踩
(0)
赞
(0)
   
举报
评论 一句话评论(0)
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!