服务报价 | 域名主机 | 网络营销 | 软件工具| [加入收藏]
 热线电话: 130-5800-8007
当前位置: 主页 > php教程 > zencart教程 >

zencart批量设置热卖商品欢迎商品

时间:2016-01-14 21:14来源: 作者: 点击:
zencart批量设置某分类下热卖商品数 best seller update products set products_ordered = products_ordered + 10 where master_categories_id = 1 ; update products set products_ordered = products_ordered + 10 where master_categories_id

zencart批量设置某分类下热卖商品数 best seller

update products set products_ordered=products_ordered+10 where master_categories_id=1;
update products set products_ordered=products_ordered+10 where master_categories_id in (111,222,333,44,555,666);

 zencart批量设置某产品点击最高最受欢迎产品 most popular

update products_description set products_viewed=products_viewed+10 where products_id=1;
update products_description set products_viewed=products_viewed+10 where products_id in (111,222,333,44,555,666);

(责任编辑:最模板)
顶一下
(0)
0%
踩一下
(0)
0%
------分隔线----------------------------