简单购物车教程
数据库字段 表:pro_talbe: id 产品编号 proname 产品名称 simages 产品小图表o_rder: id 订单编号 p_roid 产品编号m_um 产品数量 d_time 订购时间 表co_table: id 客户编号 nn_ame 客户姓名 tt_el 联系电话 ee_m_ail 客户邮箱
+++++++++++++++++++++++ index.asp源码 +++++++++++++++++++++++ Untitled Document 0) AND (NOT
Recordset1.EOF))%> &quantity=1>购买 列出产品,这里有一个要点就是:&quantity=1>购买 这里传递了两个参
数:产品ID“ProductID 数量:“quantity +++++++++++++++++++++++++ 下面是cart.asp的源码: +++++++++++++++++++++
then if cart.Exists(productID) then cart.Remove(productID) end if cart.add productID,detail end if keys=cart.keys
items=cart.items set session(cart)=cart %> 浙江广源印刷包装有限公司 商品名称 购买数量 更新 删除
’更新产品数量用 > > > > 总价合计: ¥ 继续选购 付款 本新闻共2页,当
前在第1页12
转自:ASP教程采集
简单购物车教程
数据库字段 表:pro_talbe: id 产品编号 proname 产品名称 simages 产品小图表o_rder: id 订单编号 p_roid 产品编号m_um 产品数量 d_time 订购时间 表co_table: id 客户编号 nn_ame 客户姓名 tt_el 联系电话 ee_m_ail 客户邮箱
+++++++++++++++++++++++ index.asp源码 +++++++++++++++++++++++ Untitled Document 0) AND (NOT
Recordset1.EOF))%> &quantity=1>购买 列出产品,这里有一个要点就是:&quantity=1>购买 这里传递了两个参
数:产品ID“ProductID 数量:“quantity +++++++++++++++++++++++++ 下面是cart.asp的源码: +++++++++++++++++++++
then if cart.Exists(productID) then cart.Remove(productID) end if cart.add productID,detail end if keys=cart.keys
items=cart.items set session(cart)=cart %> 浙江广源印刷包装有限公司 商品名称 购买数量 更新 删除
’更新产品数量用 > > > > 总价合计: ¥ 继续选购 付款 本新闻共2页,当
前在第1页12
转自:ASP教程采集
页:
[1]