<%temp_shopping_cart_add_handle=site.object_p%>
<!-- object[<%=site.object_p%>]::temp_shopping_cart_add_handle -->
<%
dim ids_goods
dim i_goods

ids_goods=trim(request("id"))

if ids_goods="" then
	site.Error.info="请选择要加入购物车的商品！"
	site.Error.location="javascript:window.close();"
	site.Error.err()
end if

ids_goods=replace(ids_goods," ","")

ids_goods=split(ids_goods,",")

for i_goods=0 to ubound(ids_goods)
	site.temp.shopping.cart.AddGoods(ids_goods(i_goods))
next

site.Error.info="添加商品到购物车成功！"
site.Error.location="do.asp?tr=shopping|cart"
site.Error.suc()
%>