branok Posted July 21, 2009 Share Posted July 21, 2009 Ahojte,chcem sa spytat, ci mi viete poradit, kde sa da nastavit aby pri registracii noveho zakaznika v e-shope bolo vzdy automaticky zaskrtnute policko na odoberanie noviniek. (Ak nechce tak to odskrtne, ale ked si to nevsimne, tak nech to je zaskrtnute). Ci sa to da priamo niekde v administracii alebo treba niekde nieco v php zmenit.Dakujem Link to comment Share on other sites More sharing options...
branok Posted July 22, 2009 Author Share Posted July 22, 2009 Takze riesenie je na svete:treba najst subor autenthication.tpl (themes/prestashop)a v nom urobit nasledovnu zmenu: <input type="checkbox" name="newsletter" id="newsletter" value="1" {if isset($smarty.post.newsletter) AND $smarty.post.newsletter == 1} checked="checked"{/if} /> nahradit <input id="newsletter" type="checkbox" checked="checked" value="1" name="newsletter" /> je to v riadku medzi 100 - 170 (podla toho ci ste nieco v subore menili alebo nie)B 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