ecshop首页要显示几个指定的分类要怎么实现,语句怎么写答:sql = 'SELECT g.goods_id, g.goods_name, g.goods_name_style, g.market_price, g.is_new, g.is_best, g.is_hot, g.shop_price AS org_price, ' ."IFNULL(mp.user_price, g.shop_price * '$_SESSION[discount]') AS shop_price, g.promote_price, g.goods_type, " .'g....
ecshop 库存为0时,列表和详情页怎么能实现 显示缺货,点击会提示缺货登记...答:"IFNULL(mp.user_price, g.shop_price * '$_SESSION[discount]') AS shop_price, g.promote_price, g.goods_type, " .'g.promote_start_date, g.promote_end_date, g.goods_brief, g.goods_thumb , g.goods_img ' .'FROM ' . $GLOBALS['ecs']->table('goods') . ' AS g ' ...