ARodrigues Posted November 3, 2016 Share Posted November 3, 2016 Boa noite. Precisava da vossa ajuda para remover o login ou registo quando os meus clientes estão a finalizar uma compra, e ficar apenas com o guest checkout. Vou mostrar com imagens: Eu gostaria de REMOVER esta área aqui: E ficar apenas com esta área (que neste momento se encontra por baixo da área acima): Portanto, a minha ideia era retirar o local de login e ficar apenas com o guest checkout. Eu já tive a alterar o ficheiro authentication.tpl, na diretoria public_html/themes/default_bootstrap, e apaguei estas linhas: {capture name=path} {if !isset($email_create)}{l s='Authentication'}{else} <a href="{$link->getPageLink('authentication', true)|escape:'html':'UTF-8'}" rel="nofollow" title="{l s='Authentication'}">{l s='Authentication'}</a> <span class="navigation-pipe">{$navigationPipe}</span>{l s='Create your account'} {/if} {/capture} <h1 class="page-heading">{if !isset($email_create)}{l s='Authentication'}{else}{l s='Create an account'}{/if}</h1> {if isset($back) && preg_match("/^http/", $back)}{assign var='current_step' value='login'}{include file="$tpl_dir./order-steps.tpl"}{/if} {include file="$tpl_dir./errors.tpl"} {assign var='stateExist' value=false} {assign var="postCodeExist" value=false} {assign var="dniExist" value=false} {if !isset($email_create)} <!--{if isset($authentification_error)} <div class="alert alert-danger"> {if {$authentification_error|@count} == 1} <p>{l s='There\'s at least one error'} :</p> {else} <p>{l s='There are %s errors' sprintf=[$account_error|@count]} :</p> {/if} <ol> {foreach from=$authentification_error item=v} <li>{$v}</li> {/foreach} </ol> </div> {/if}--> <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> Mas NADA mudou, NADA MESMO! Já estou ha 3 dias a tentar mudar isto e não consigo! Por favor alguém me ajude... Também não quero pagar 100 ou 200$ para um módulo guest checkout only quando sei que isto é simples de fazer à mão... só estou fazendo algo errado e não sei o quê. Alguém me pode ajudar, por favor? Obrigado! 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