Jump to content

Boletin de noticias y Propaganda seleccionados por defecto


Recommended Posts

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

  • 11 months later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...