打开shop/shoppingcart.asp
找到
strsql="select I.ID,I.Title,I.FreeShipping,I.WholesaleNum,I.WholesalePrice,I.Price,I.Price_Member,I.IsDiscount,I.TotalNum,I.PhotoUrl,I.Unit,I.IsLimitBuy,I.LimitBuyPrice,I.LimitBuyAmount,i.istype,L.LimitBuyBeginTime,L.LimitBuyEndTime,I.MemberNum,I.VisitorNum,I.ArrGroupID,I.Tid,I.Fname,C.istype,C.Attr,C.Amount,C.CartID,C.AttrID,C.ProID,i.Score from (KS_Product I Inner join KS_ShoppingCart c on i.id=c.proid) Left Join KS_ShopLimitBuy L On I.LimitBuyTaskID=L.Id where i.deltf=0 and c.flag=0 and c.username='" & GetUserID & "' order by I.IsChangedBuy,I.ID"
改成
strsql="select I.ID,I.Title,I.FreeShipping,I.WholesaleNum,I.WholesalePrice,I.Price,I.Price_Member,I.IsDiscount,I.TotalNum,I.PhotoUrl,I.Unit,I.IsLimitBuy,I.LimitBuyPrice,I.LimitBuyAmount,i.istype,L.LimitBuyBeginTime,L.LimitBuyEndTime,I.MemberNum,I.VisitorNum,I.ArrGroupID,I.Tid,I.Fname,C.Attr,C.Amount,C.CartID,C.AttrID,C.ProID,i.Score from (KS_Product I Inner join KS_ShoppingCart c on i.id=c.proid) Left Join KS_ShopLimitBuy L On I.LimitBuyTaskID=L.Id where i.deltf=0 and c.flag=0 and c.username='" & GetUserID & "' order by I.IsChangedBuy,I.ID"