Radek100 Posted January 4, 2013 Share Posted January 4, 2013 (edited) 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 January 4, 2013 by Radek100 (see edit history) Link to comment Share on other sites More sharing options...
Radek100 Posted January 4, 2013 Author Share Posted January 4, 2013 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... Link to comment Share on other sites More sharing options...
francescR Posted August 26, 2013 Share Posted August 26, 2013 (edited) 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 August 26, 2013 by francescR (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted August 26, 2013 Share Posted August 26, 2013 check authentication.tpl file as Radek100 suggsted above have you got there onr or one ? Link to comment Share on other sites More sharing options...
francescR Posted August 26, 2013 Share Posted August 26, 2013 thanks for your reply vekia i have the "onr" and have tried wid "one" i have tried with the one but it hasn't fixed the problem Link to comment Share on other sites More sharing options...
Recommended Posts