dariusset Posted February 13, 2015 Share Posted February 13, 2015 (edited) Saludos y gracias de antemano. Versión PS: 1.6.0.9 Necesito que el usuario si está viendo un producto y va a la página de registro desde éste, cuando termine el proceso de registro, vuelva al producto que estaba viendo. He conseguido que redirija de vuelta al producto después de loguearse cambiando en el archivo authentication.tpl la línea 91: {if isset($back)}<input type="hidden" class="hidden" name="back" value="{$back|escape:'html':'UTF-8'}" />{/if} Por: <input type="hidden" class="hidden" name="back" value="{$smarty.server.HTTP_REFERER}" /> Pero haciendo lo mismo sobre el formulario de registro no funciona. ¿Alguien sabría como solucionar este problemilla? Muchas Gracias Edited February 13, 2015 by dariusset (see edit history) Link to comment Share on other sites More sharing options...
Wher1979 Posted May 6, 2016 Share Posted May 6, 2016 Para cuando te registras tienes que cambiar la linea 64. La linea siguiente a: <div class="submit"> y tienes que cambiar: {if isset($back)}<input type="hidden" class="hidden" name="back" value="{$back|escape:'html':'UTF-8'}" />{/if} por: <input type="hidden" class="hidden" name="back" value="{$smarty.server.HTTP_REFERER}" /> 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