找熟悉ECSHOP 指点下 品牌分类

2016-07-07 15:01 来源:www.chinab4c.com 作者:ecshop专家

要按分类为键值.来生成品牌数组

回答:
可以联系我们qq:252103862 1243834352

做过些类的开发,关链查询三表关链查询就可以了,举一个例子:
$sql =' select b.brand_id, b.brand_name, b.brand_logo, b.brand_desc from ' . $ecs->table('brand') . ' as b left join ' . $ecs->table('goods') . ' as g on g.brand_id = b.brand_id ' .' left join ' . $ecs->table('cateory') . " as c on c.cat_id = g.cat_id where c.cat_id='$cat_id'";

专业ECSHOP EMALL开发 QQ 22741349

专业ECSHOP EMALL开发

QQ 22741349


斯巴顿工作室