Zanys Posted August 8, 2013 Share Posted August 8, 2013 Dobrý den, používám PS 1.5, chtěl bych změnit objednávkový formulář / registrační formulář. Tak, aby jméno a příjmení bylo v jednom políčku ne ve dvou jako je to doposud. Nemá někdo správně fungující řešení? Díky 1 Link to comment Share on other sites More sharing options...
Michal1Production Posted June 8, 2017 Share Posted June 8, 2017 Tohle se dá upravit ve složce theme vaše thema a pak address.tpl a v něm konkretně {/if} {if $field_name eq 'firstname'} <div class="required form-group"> <label for="firstname">{l s='First name'} <sup>*</sup></label> <input class="is_required validate form-control" data-validate="{$address_validation.$field_name.validate}" type="text" name="firstname" id="firstname" value="{if isset($smarty.post.firstname)}{$smarty.post.firstname}{else}{if isset($address->firstname)}{$address->firstname|escape:'html':'UTF-8'}{/if}{/if}" /> </div> {/if} {if $field_name eq 'lastname'} <div class="required form-group"> <label for="lastname">{l s='Last name'} <sup>*</sup></label> <input class="is_required validate form-control" data-validate="{$address_validation.$field_name.validate}" type="text" id="lastname" name="lastname" value="{if isset($smarty.post.lastname)}{$smarty.post.lastname}{else}{if isset($address->lastname)}{$address->lastname|escape:'html':'UTF-8'}{/if}{/if}" /> Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now