标签列表

{openzc:account}会员信息调用


当会员登录在线时,在会员相关页面调用所有会员相关信息


会员导航列表调用:
导航包括:orders(订单页)、address(收货地址)、edit(会员信息)、password(密码修改)、notice_news(资讯通知)、notice_products(产品通知)、gv(优惠券)
调用全部示例:
<ul>
	{openzc:account item="nav"}
		<li>[field:text/]</li>
	{/openzc:account}
</ul>
调用指定导航示例:
<ul>
	{openzc:account item="nav" field="orders,address"}
	<li>[field:text/]</li>
	{/openzc:account}
</ul>


会员身份信息调用:
字段名:customers_firstname、customers_lastname、customers_dob、customers_email_address、customers_telephone、customers_fax、customers_referral
调用标签:{openzc:account field='字段名'/}

会员收货地址页


<ul>
    {openzc:account item="address"}
	<li>
	[field:firstname/] [field:lastname/] 
	{openzc:if $field['status']=="active"}{openzc:define.PRIMARY_ADDRESS/} {/openzc:if} 
	[field:address/] 
	[field:edit_text/] 
	[field:delete_text/] 
	</li>
	{/openzc:account}
	</ul>


会员订单列表调用:
{openzc:account item="orders"}
    <tr>
        <td>[field:orders_id/]</td>
        <td>[field:orders_status_name/]</td>
        <td>[field:date_purchased/]</td>
        <td>[field:product_count/]</td>
        <td>[field:order_name/]</td>
        <td>[field:order_total/]</td>
	</tr>
{/openzc:account}

会员订单详情页


订单日期:{openzc:account item="orders" field="date_purchased"/}
订单详情调用:
{openzc:account item="orders" field="products"}
    <tr>
        <td>[field:qty/]</td>
        <td>
            [field:name/]<br/>
            {openzc:account item="orders" field="attr"}
            [field:option/]:[field:value/]<br/>
            {/openzc:account}
        </td>
        <td>[field:final_price/]</td>
        <a href="[field:order_link/]">View info</a>
     </tr>
{/openzc:account}

订单状态:
{openzc:account item="orders" field="status_history"}
    <tr>
        <td>[field:date_added/]</td>
        <td>[field:orders_status_name/]</td>
        <td>[field:comments/]</td>
    </tr>
{/openzc:account}
收货地址:{openzc:account item="orders" field="delivery"/}
运输方式:{openzc:account item="orders" field="shipping_method"/}
账单地址:{openzc:account item="orders" field="billing"/}
支付方式:{openzc:account item="orders" field="payment_method"/}