Hi,
I need to make the newsletter radio on by default, i found an extension that would to this for the default option but from shoppica 2 theme i do not know where to do the changes.
Extension Link : http://bit.ly/Lz6YmM
Ver. 1.5.2.1
Thanks
|
|
1. Find this file:
/www/catalog/view/theme/your_theme/template/account/register.tpl
2) Edit the file and find this part:
<label class="s_radio"><input type="radio" name="newsletter" value="0" checked="checked" /> <?php echo $text_no; ?></label>
replace it with
<label class="s_radio"><input type="radio" name="newsletter" value="0" /> <?php echo $text_no; ?></label>
then find this part:
<label class="s_radio"><input type="radio" name="newsletter" value="1" /> <?php echo $text_yes; ?></label>
and replace it with
<label class="s_radio"><input type="radio" name="newsletter" value="1" checked="checked" /> <?php echo $text_yes; ?></label>
Done.
|
|
@QenTox
Thank you for the help
@absar
If you are familiar with vQmod, you can use it, so you don’t have to hack Shoppica files.
Best,
ThemeBurn team
|
|