您当前的位置: 首页 » 购物车
promotion)}style="display:none"{/if}>

恭喜,您的订单已经满足了以下优惠活动!

{foreach:items = $this->promotion}

{$item['plan']},{$item['info']}

{/foreach}
{set:$goodsIdArray = array()} {foreach:items = $this->productList} {set:$goodsIdArray[] = $item['goods_id']} {/foreach} {foreach:items = $this->goodsList} {set:$goodsIdArray[] = $item['id']} {/foreach}
查看购物车
图片商品名称赠送积分单价优惠数量小计操作
{$item['name']} {$item['name']}

{set:$spec_array=Block::show_spec($item['spec_array']);} {foreach:items=$spec_array item=$specValue key=$specName} {$specName}:{$specValue}    {/foreach}

{$item['point']} ¥{$item['sell_price']} 减¥{$item['reduce']}
{set:unset($item['name']);$item_json = JSON::encode($item)} - +
¥{$item['sum']} 删除
{$item['name']} {$item['name']} {$item['point']} ¥{$item['sell_price']} 减¥{$item['reduce']}
{set:unset($item['name']);$item_json = JSON::encode($item)} - +
¥{$item['sum']} 删除
商品总重量:{$this->weight}g商品总金额:¥{$this->sum} - 商品优惠:¥{$this->reduce} - 促销活动优惠:¥{$this->proReduce}
金额总计(不含运费):¥{$this->final_sum}
{if:$this->user['user_id']} 寄存购物车 取出购物车 清空寄存购物车 {/if} 清空购物车 {set:$callback=IReq::get('callback');} 继续购物 {if:!empty($goodsIdArray)} 去结算 {/if}
{if:!empty($goodsIdArray)} {set:$buyList = array()} {set:$goodsIdStr = join(',',$goodsIdArray)} {query: name = order_goods fields = count(*) as nums,order_id where = goods_id in ($goodsIdStr) group = order_id having = nums > 1 limit = 15 items = $orderIdResult /} {if:$orderIdResult} {set:$orderIdArray = array()} {foreach:items = $orderIdResult item = $orderResultItem} {set:$orderIdArray[] = $orderResultItem['order_id']} {/foreach} {set:$orderIdStr = join(',',$orderIdArray)} {query: name = order_goods fields = goods_id where = order_id in ($orderIdStr) and goods_id not in ($goodsIdStr) limit = 15 items = $goodsIdResult /} {if:$goodsIdResult} {set:$orderGoodsIdArray = array()} {foreach:items = $goodsIdResult item = $goodsResultItem} {set:$orderGoodsIdArray[] = $goodsResultItem['goods_id']} {/foreach} {set:$orderGoodsIdStr = join(',',$orderGoodsIdArray)} {query: name = goods fields = list_img,id,name,sell_price where = id in ($orderGoodsIdStr) limit = 15 items = $buyList /} {/if} {/if} {if:!empty($buyList)}
购买了同样商品的顾客还购买了
{/if} {/if}