Jump to content

[Solved]1.5.3.1. create account missing text


Recommended Posts

Hi,

 

I am missing text below in 1.5.3.1. version on account creation:

 

You must register at least one phone number

 

When I check translation, this text is included. (Upgrade from 1.4.6.2., 1.5.2. edited template)

 

Have somebody this problem?

 

Edit: Authentication.tpl include this code:

 {if $onr_phone_at_least}
  <p class="inline-infos">{l s='You must register at least one phone number'}</p>
 {/if}
 <p class="text">
  <label for="phone">{l s='Home phone'}</label>
  <input type="text" class="text" name="phone" id="phone" value="{if isset($smarty.post.phone)}{$smarty.post.phone}{/if}" />
 </p>

Edited by Radek100 (see edit history)
Link to comment
Share on other sites

  • 7 months later...

hi,

i have the same problem

i am not sure this might be the answer as in /controllers/front

you can see that code in AddressController.php and in AuthController.php

 

$this->context->smarty->assign(array(

'one_phone_at_least' => (int)Configuration::get('PS_ONE_PHONE_AT_LEAST'),

'onr_phone_at_least' => (int)Configuration::get('PS_ONE_PHONE_AT_LEAST'), //retro compat

 

did you find a solution?

 

Don't know why, but there is problem with code, problem is in

{if $onr_phone_at_least}

There should be

{if $one_phone_at_least}

Don't have idea where "onr" appear there...

Edited by francescR (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...