xml 创建客户(mvdo)

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了xml 创建客户(mvdo)相关的知识,希望对你有一定的参考价值。

<mvt:assign name="l.settings:new_customer:login" value="'I WILL CHANGE'" />
<mvt:assign name="l.settings:new_customer:pw_email" value="'gidriss@miva.com'" />
<mvt:assign name="l.settings:new_customer:password" value="123456" />
<mvt:assign name="l.settings:new_customer:pgrpcount" value="0" />
<mvt:comment> === Example === </mvt:comment>

<mvt:assign name="l.settings:new_customer:login" value="'Wholesale Customer'" />
<mvt:assign name="l.settings:new_customer:pw_email" value="g.email_address" />
<mvt:assign name="l.settings:new_customer:password" value="g.password" />
<mvt:assign name="l.settings:new_customer:pgrpcount" value="0" />
<mvt:assign name="l.settings:new_customer:bill_fname" value="g.first_name" />
<mvt:assign name="l.settings:new_customer:bill_lname" value="g.last_name" />
<mvt:assign name="l.settings:new_customer:bill_email" value="g.bill_email" />


<mvt:comment> === End Example === </mvt:comment>

<mvt:assign name="l.settings:new_customer:saved_password" value="l.settings:new_customer:password" />


<mvt:do file="g.Module_Feature_CUS_DB" name="l.settings:test" value="Customer_Load_Email(l.settings:new_customer:pw_email, l.settings:existing_customer)" />


<mvt:if expr="l.settings:existing_customer:id GT 0">
	USER EXISTS
<mvt:else>
	<mvt:do file="g.Module_Feature_CUS_UT" name="l.settings:test" value="CustomerLogin_Generate_Email(l.settings:new_customer:pw_email, l.settings:new_customer:login)" />
	<mvt:do file="g.Module_Feature_CUS_UT" name="l.settings:test" value="CustomerLogin_Generate_Email(l.settings:new_customer:pw_email, l.settings:new_customer:login)" />
	<mvt:do file="g.Module_Feature_CUS_DB" name="l.settings:test" value="Customer_Insert(l.settings:new_customer)" />

	<mvt:assign name="g.Customer_Password"  value="l.settings:new_customer:saved_password" />
	<mvt:assign name="g.Customer_LoginEmail"  value="l.settings:new_customer:pw_email" />

	<mvt:do file="g.Module_Feature_CUS_RT" name="l.settings:login_success" value="Action_Customer_Login()" />
	
	<mvt:comment> === custom fields (check for customer login, might be wrong) ==== </mvt:comment>
	&mvt:global:MvDO_Error;
	<mvt:item name="customfields" param="Write_Customer_Login( g.Customer_LoginEmail, 'website', g.website_url )" />

	


</mvt:if>

以上是关于xml 创建客户(mvdo)的主要内容,如果未能解决你的问题,请参考以下文章

xml mvDo数组。

xml mvDo数组。

xml MvDo加载自定义图像类型,并调整大小。 //主图像//加载图像

xml MvDo加载自定义图像类型,并调整大小。 //主图像//加载图像

xml 使用mvdo生成具有自定义宽度/高度的图像(谢谢Ryan !!)

xml 使用mvdo生成具有自定义宽度/高度的图像(谢谢Ryan !!)