ananias Posted November 25, 2016 Share Posted November 25, 2016 Hi I use prestashop 1.6.1.6 My customer buy the "furniture Garden" theme, and i have one question. I want when some customer has going to make "Authentication" first going the "Instant Checkout" and second and third "create an account" and "already registered". How i make this change? My website is www.apokriatika.gr I sent one image what i want. Sorry for y english Thanks? Link to comment Share on other sites More sharing options...
NemoPS Posted November 26, 2016 Share Posted November 26, 2016 You should edit authentication.tpl for that Link to comment Share on other sites More sharing options...
ananias Posted November 26, 2016 Author Share Posted November 26, 2016 Hi and thanks for your answer I try to make some changes in this file but when i add my elements it tell me the fields is required but me i add my elements in the fields. Do you have any idea what changes to make; Thanks Link to comment Share on other sites More sharing options...
NemoPS Posted November 28, 2016 Share Posted November 28, 2016 Are you sure you just swapped the correct blocks around? Use google's inspector and see which blocks you have to move in the code, from the browser Link to comment Share on other sites More sharing options...
medred Posted June 28, 2017 Share Posted June 28, 2017 Hello. I have the same questions as well. I already posted it here. https://www.prestashop.com/forums/topic/617111-prestashop-16-edit-step-2/ Is it safe to move the following code at the end of authentication.tpl? <div class="row"> <div class="col-xs-12 col-sm-6"> <form action="{$link->getPageLink('authentication', true)|escape:'html':'UTF-8'}" method="post" id="create-account_form" class="box"> <h3 class="page-subheading">{l s='Create an account'}</h3> <div class="form_content clearfix"> <p>{l s='Please enter your email address to create an account.'}</p> <div class="alert alert-danger" id="create_account_error" style="display:none"></div> <div class="form-group"> <label for="email_create">{l s='Email address'}</label> <input type="email" class="is_required validate account_input form-control" data-validate="isEmail" id="email_create" name="email_create" value="{if isset($smarty.post.email_create)}{$smarty.post.email_create|stripslashes}{/if}" /> </div> <div class="submit"> {if isset($back)}<input type="hidden" class="hidden" name="back" value="{$back|escape:'html':'UTF-8'}" />{/if} <button class="btn btn-default button button-medium exclusive" type="submit" id="SubmitCreate" name="SubmitCreate"> <span> <i class="icon-user left"></i> {l s='Create an account'} </span> </button> <input type="hidden" class="hidden" name="SubmitCreate" value="{l s='Create an account'}" /> </div> </div> </form> </div> <div class="col-xs-12 col-sm-6"> <form action="{$link->getPageLink('authentication', true)|escape:'html':'UTF-8'}" method="post" id="login_form" class="box"> <h3 class="page-subheading">{l s='Already registered?'}</h3> <div class="form_content clearfix"> <div class="form-group"> <label for="email">{l s='Email address'}</label> <input class="is_required validate account_input form-control" data-validate="isEmail" type="email" id="email" name="email" value="{if isset($smarty.post.email)}{$smarty.post.email|stripslashes}{/if}" /> </div> <div class="form-group"> <label for="passwd">{l s='Password'}</label> <input class="is_required validate account_input form-control" type="password" data-validate="isPasswd" id="passwd" name="passwd" value="" /> </div> <p class="lost_password form-group"><a href="{$link->getPageLink('password')|escape:'html':'UTF-8'}" title="{l s='Recover your forgotten password'}" rel="nofollow">{l s='Forgot your password?'}</a></p> <p class="submit"> {if isset($back)}<input type="hidden" class="hidden" name="back" value="{$back|escape:'html':'UTF-8'}" />{/if} <button type="submit" id="SubmitLogin" name="SubmitLogin" class="button btn btn-default button-medium"> <span> <i class="icon-lock left"></i> {l s='Sign in'} </span> </button> </p> </div> </form> </div> </div> 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