Pelleque Posted February 14, 2018 Share Posted February 14, 2018 Buenas, estoy utilizando prestashop 1.6, he conseguido poner el pedido instantáneo, pero se puede seguir registrando. Quiero solo pedido instantaneo sin posibilidad de registro ni inicio de sesion. ¿Alguien sabe? Muchas gracias. Link to comment Share on other sites More sharing options...
prestatricks Posted February 15, 2018 Share Posted February 15, 2018 Buenas, Primero debes desactivar el módulo "Bloque de información de usuario" (blockuserinfo). Desactivándolo lo que haces es que no aparezca el enlace de registrarse en la parte superior de la web. Pero la página sigue existiendo, así que deberás quitar esta parte del código del archivo authentication.tpl de tu plantilla: <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="text" 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> 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