Developer forum

Forum » Rapido » Cart - Create User

Cart - Create User

Aki Ruuskanen
Aki Ruuskanen
Reply

Maybe this is not rapidospecific but anyway...

In out standard Rapido demo (http://rapidodemo.softgear.se) the cart is set to create new users in the groups "Customers".

But no customers are created. I am wondiring why? The settings seems correct?

Regards /Aki

 

Cart.JPG

Replies

 
Aki Ruuskanen
Aki Ruuskanen
Reply

Never mind. Problem was in the template. 

/Aki

 
Nicolai Pedersen
Reply

An error in our templates? Or your own fixes?

 
Aki Ruuskanen
Aki Ruuskanen
Reply

The  field "EcomUserCreateNew" and some other stuff for username and passwords were missing from the template. 

/Aki

 
Jens Mouritzen
Jens Mouritzen
Reply

Could you please share this solution / template Aki :) I need this for a Rapido project launch this weekend.

 
Aki Ruuskanen
Aki Ruuskanen
Reply

Hi Jens,

Attaching the template we are using. 

Basically this is needed for creating a user:

<input type="checkbox" style="display:none;" name="EcomUserCreateNew" id="EcomUserCreateNew" checked="checked" />

<div class="card">
<label for="EcomUserCreateUserName">@Translate("Username")</label>
<input type="text" class="u-full-width" name="EcomUserCreateUserName" id="EcomUserCreateUserName" value="" placeholder="Förslagsvis e-postadressen" />
<div class="field-error">@GetString("Ecom:Cart.ValidationError.EcomUserCreateUserName.ErrorMessage")</div>

<label for="EcomUserCreatePassword">@Translate("New password")</label>
<input type="password" class="u-full-width" name="EcomUserCreatePassword" id="EcomUserCreatePassword" value="" />
<div class="field-error">@GetString("Ecom:Cart.ValidationError.EcomUserCreatePassword.ErrorMessage")</div>

<label for="EcomUserCreateConfirmPassword">@Translate("Confirm password")</label>
<input type="password" class="u-full-width" name="EcomUserCreateConfirmPassword" id="EcomUserCreateConfirmPassword" value="" />
<div class="field-error">@GetString("Ecom:Cart.ValidationError.EcomUserCreateConfirmPassword.ErrorMessage")</div>
</div>

 

 

You must be logged in to post in the forum