Ecshop Template Flow Dwt

购物流程

doctitle

{$page_title}

head

{$ecs_css_path}

包含脚本文件
{insert_scripts files='common.js,shopping_flow.js'}

"/library/page_header.lbi"

"/library/ur_here.lbi" 当前位置

包含脚本文件

{insert_scripts files='showdiv.js'}

Javascript

{foreach from=$lang.password_js}

{$lang.goods_list}

<form name="formCart" action="flow.php">

{$lang.goods_name}

  • {if $show_goods_attribute} 显示商品属性 {$lang.goods_attr}
  • {if $show_marketprice} 显示市场价{$lang.market_prices}

{$lang.shop_prices}
{$lang.number}
{$lang.subtotal}
{$lang.handle}

  • {foreach from=$goods_list}
  • {if $goods.goods_id gt 0 && $goods.extension_code neq 'package_buy'}商品
  • {if $show_goods_thumb}

<a href="goods.php?id={$goods.goods_id}">{$goods.goods_name}

{$goods.goods_thumb} {$goods.goods_name|escape:html}

  • {if $goods.parent_id gt 0} 配件

{$lang.accessories}

  • {if $goods.is_gift gt 0} 赠品

{$lang.largess}

  • {elseif $goods.goods_id gt 0 && $goods.extension_code eq 'package_buy'}

setSuitShow({$goods.goods_id})
{$goods.goods_name}
{$lang.remark_package}

  • id=suit_{$goods.goods_id}

{foreach from=$goods.package_goods_list}
<a href="goods.php?id={$package_goods_list.goods_id}">{$package_goods_list.goods_name}

  • {else} 优惠活动

{$goods.goods_name}

  • {if $show_goods_attribute eq 1} 显示商品属性 {$goods.goods_attr|nl2br}
  • {if $show_marketprice} 显示市场价 {$goods.market_price}
  • {$goods.goods_price}
  • {if $goods.goods_id gt 0 && $goods.is_gift eq 0 && $goods.parent_id eq 0} 普通商品可修改数量
    • name=goods_number[{$goods.rec_id}]
    • {$goods.goods_number}
    • showdiv(this)
  • {else}
    • {$goods.goods_number}
  • {$goods.subtotal}

删除商品

  • js:if (confirm('{$lang.drop_goods_confirm}')) location.href='flow.php?step=drop_goods&amp;id={$goods.rec_id} {$lang.drop}
  • {if $smarty.session.user_id gt 0 && $goods.extension_code neq 'package_buy'} 如果登录了,可以加入收藏
    • js:if (confirm('{$lang.drop_goods_confirm}')) location.href='flow.php?step=drop_to_collect&amp;id={$goods.rec_id}'; {$lang.drop_to_collect}
  • {$your_discount}
  • {$shopping_money}
  • {$market_price_desc}