html 在Checkout中保存Miva客户字段
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了html 在Checkout中保存Miva客户字段相关的知识,希望对你有一定的参考价值。
<!-- Add the following to the OSEL page -->
<mvt:item name="customfields" param="Write_Basket('basket', g.basket)" />
<!-- Add the following to the OCST page -->
<mvt:item name="customfields" param="Read_Basket('basket', g.saved_fields)" />
<mvt:if expr="NOT ISNULL g.saved_fields" >
<mvt:assign name="g.ShipFirstName" value="g.saved_fields:ship_fname" />
<mvt:assign name="g.ShipLastName" value="g.saved_fields:ship_lname" />
<mvt:assign name="g.ShipEmail" value="g.saved_fields:ship_email" />
<mvt:assign name="g.ShipCompany" value="g.saved_fields:ship_comp" />
<mvt:assign name="g.ShipPhone" value="g.saved_fields:ship_phone" />
<mvt:assign name="g.ShipFax" value="g.saved_fields:ship_fax" />
<mvt:assign name="g.ShipAddress1" value="g.saved_fields:ship_addr" />
<mvt:assign name="g.ShipAddress2" value="g.saved_fields:ship_addr2" />
<mvt:assign name="g.ShipCity" value="g.saved_fields:ship_city" />
<mvt:assign name="g.ShipState" value="g.saved_fields:ship_state" />
<mvt:assign name="g.ShipZip" value="g.saved_fields:ship_zip" />
<mvt:assign name="g.ShipCountry" value="g.saved_fields:ship_cntry" />
<mvt:assign name="g.BillFirstName" value="g.saved_fields:bill_fname" />
<mvt:assign name="g.BillLastName" value="g.saved_fields:bill_lname" />
<mvt:assign name="g.BillEmail" value="g.saved_fields:bill_email" />
<mvt:assign name="g.BillCompany" value="g.saved_fields:bill_comp" />
<mvt:assign name="g.BillPhone" value="g.saved_fields:bill_phone" />
<mvt:assign name="g.BillFax" value="g.saved_fields:bill_fax" />
<mvt:assign name="g.BillAddress1" value="g.saved_fields:bill_addr" />
<mvt:assign name="g.BillAddress2" value="g.saved_fields:bill_addr2" />
<mvt:assign name="g.BillCity" value="g.saved_fields:bill_city" />
<mvt:assign name="g.BillState" value="g.saved_fields:bill_state" />
<mvt:assign name="g.BillZip" value="g.saved_fields:bill_zip" />
<mvt:assign name="g.BillCountry" value="g.saved_fields:bill_cntry" />
</mvt:if>
以上是关于html 在Checkout中保存Miva客户字段的主要内容,如果未能解决你的问题,请参考以下文章
html Miva Variant自定义字段和库存
html Miva - 使用购物篮自定义字段预览功能
html Miva - mvt:do - 检查客户是否在可用性组中
html Miva Merchant:保存最后4位信用卡
html Miva - 禁用客户端维度刷新
html Miva - 强制客户登录