madeinspain Posted February 12, 2011 Share Posted February 12, 2011 Me gustaria saber si se puede y como que cuando uno se registre, por defecto aparezcan seleccionados tanto el recibir el boletin de noticias como el recibir la propaganda. Un saludo a todos. Link to comment Share on other sites More sharing options...
Josue Posted February 12, 2011 Share Posted February 12, 2011 Ve a root/prestashop/themes/tu_theme/authentication.tpl y busca alrededor de la linea 130: <input type="checkbox" name="newsletter" id="newsletter" value="1" {if isset($smarty.post.newsletter) AND $smarty.post.newsletter == 1} checked="checked"{/if} /> {l s='Sign up for our newsletter'} <input type="checkbox" name="optin" id="optin" value="1" {if isset($smarty.post.optin) AND $smarty.post.optin == 1} checked="checked"{/if} /> {l s='Receive special offers from our partners'} Sustituyelo por: <input type="checkbox" checked="checked" name="newsletter" id="newsletter" value="1" {if isset($smarty.post.newsletter) AND $smarty.post.newsletter == 1} checked="checked"{/if} /> {l s='Sign up for our newsletter'} <input type="checkbox" checked="checked" name="optin" id="optin" value="1" {if isset($smarty.post.optin) AND $smarty.post.optin == 1} checked="checked"{/if} /> {l s='Receive special offers from our partners'} El único cambio es agregar: checked="checked" Saludos. Link to comment Share on other sites More sharing options...
madeinspain Posted February 14, 2011 Author Share Posted February 14, 2011 Gracias por tu respuesta, lo probare a ver si funciona. Link to comment Share on other sites More sharing options...
tafisa Posted February 10, 2012 Share Posted February 10, 2012 Funciona? Link to comment Share on other sites More sharing options...
nadie Posted February 10, 2012 Share Posted February 10, 2012 Funciona? Logicamente que funciona, con checked="checked" indicas que el checkbock este pulsado. Un saludo Link to comment Share on other sites More sharing options...
Recommended Posts