Jump to content

Alias Address was not valued in registration form


Giordx

Recommended Posts

Hi,

 

I have an issue with user registration with ps 1.6.1.6

 

When a user try to register, after the first form (general data), he was redirect to the "Your Address" page.

 

The first field (mandatory) is the Alias Address.

This should be precompiled with the text "my address", but it comes always empty and creates trouble because most users don't see it and cannot continue to sign up.

 

Somebody can tell me how this happens?

 

 

In address.tpl, I see these lines of code that seems right:

 

<input type="text" id="alias" name="alias" value="{if isset($smarty.post.alias)}{$smarty.post.alias}{elseif isset($address->alias)}{$address->alias|escape:'htmlall':'UTF-8'}{elseif isset($select_address)}{else}{l s='My address'}{/if}" style="width:364px" />

 

 

thanks

Gio

 

Link to comment
Share on other sites

From my point of view the code looks correct. Crosscheck with 1.6.1.15.

 

<input type="text" id="alias" class="is_required validate form-control" data-validate="{$address_validation.alias.validate}" name="alias" value="{if isset($smarty.post.alias)}{$smarty.post.alias}{elseif isset($address->alias)}{$address->alias|escape:'html':'UTF-8'}{elseif !$select_address}{l s='My address'}{/if}" />

 

So it looks like your smarty isn't set at some circumstances. I would enable DEV modue for further analysis.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...