Newsletter Radio

This topic has been marked as resolved.

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

 absar
June 6, 2012 at 12:10 pm #9889

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
June 10, 2012 at 6:12 pm #10060

@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

June 11, 2012 at 6:04 pm #10172
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.