Developer forum

Forum » Ecommerce - Standard features » Create user on checkout

Create user on checkout

Umar Farooq
Reply

Hi,

I have webshop where I want to create user on checkout, I am using the following code but this dosen't create any user. I am using cart v2 module and ofcourse i have enabled the checkbox "Create user during checkout" and also defined the category in which user ends up. Is there any thing i am missing here or should bring into my considration??

 

<!--@If Not Defined(Global:Extranet.Name)-->

<fieldset id="EcomLoginInformation">    
<lable>user name</lable><input type="text" name="EcomUserCreateUserName" id="EcomUserCreateUserName" <!--@If Defined(Ecom:User.CreateNew)--> value="<!--@Ecom:User.CreateNew.Username-->" <!--@EndIf(Ecom:User.CreateNew)--> />
 <label for="EcomUserCreatePassword"><!--@Translate(newpassword, "New password")--></label>
<input type="password" name="EcomUserCreatePassword" id="EcomUserCreatePassword" <!--@If Defined(Ecom:User.CreateNew)-->value="<!--@Ecom:User.CreateNew.Password-->" <!--@EndIf(Ecom:User.CreateNew)--> />
                
<label for="EcomUserCreateConfirmPassword"><!--@Translate(confirmpassword, "Confirm password")--></label>
 <input type="password" name="EcomUserCreateConfirmPassword" id="EcomUserCreateConfirmPassword" <!--@If Defined(Ecom:User.CreateNew)-->value="<!--@Ecom:User.CreateNew.ConfirmPassword-->" <!--@EndIf(Ecom:User.CreateNew)--> />
     </fieldset> 

<!--@EndIf-->

Thanks,

umar


Replies

 
Merethe Nielsen
Reply

Hi,

From: http://manual.dynamicweb-cms.com/Default.aspx?ID=7190 (User Management sektion).

 

Setup Create user during checkout
Select the default template InformationCreateUser.html in step 2 in the Steps section.
Enable Create user during checkout in the User Management section.
In Groups for new users you select a user group where the created users should be created.
Save paragraph settings and go to frontend and create an order.
Select Save me as customer and fill user name and password and other relevant details.
When the order is completed the user is created in the selected User Management group and also logged in in frontend.

Note that the user is created during checkout. If you e.g. cancel the order from the payment provider then the user is still created.

 

I hope that this helps you.

 

Kind regards,

Merethe

 

You must be logged in to post in the forum