西部数码主机 | 阿里云主机| 虚拟主机 | 服务器 | 返回乐道官网
当前位置: 主页 > 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%
------分隔线----------------------------