Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Topic Information
SajMalik
SajMalik
I have specified in:
Administration > Users > Users Types > Customer > Profile Settings
to have - "Subscribe Block" checked
-----------------------------------------------
When the new customer si new customer
http://www.malikstores.co.uk/user_profile.php
I get an UNchecked box with:
Please tick this check box if you want to receive our newsletter.
-----------------------------------------------
 
I would like this box to be CHECKED by DEFAULT.
 
Can you please tell me how to set this up?
 
Chris
 
Ned
Ned
(Addendum see later post)
 
Chris,
I cant check this atm but try
"templates/user/user_profile.html" (or your layout folder if youve changed this file) and at line 605 change the value="1" to value="0".
 
HTH
Last modified: 27 Oct 2008 8:55 AM
 
eelrid (Guest)
eelrid (Guest)
Chris,
 
It is easy:
Go to templates/user/block_order_info.html
About line 768 there you find "<input name="subscribe" type="checkbox" value="1" checked="checked" {subscribe}>"
Obvious, take care that checked = checked and not unchecked.
 
Eelrid
 
SajMalik
SajMalik
Thanks guys but there is still a problem.
 
Ned - my file only has 50 lines
 
eelrid - this would only change newsletter on the order page?
I need to change the check box on user registration Smile
 
Don't know whether I have misunderstood?
 
Chris
 
 
Ned - it is block_user_profile.html. I will try it.
 
Ned - changing
601 <label><input type="checkbox" name="subscribe" {subscribe} value="0"> {SUBSCRIBE_CHECKBOX_MSG}</label>
does not change antything
Last modified: 27 Oct 2008 9:10 AM
 
Ned
Ned
Sorry Chris,
Its "templates/user/BLOCK_user_profile.html".
 
Keep value="1" and use eelrids suggestion of adding a checked="checked" to 605.
 
SajMalik
SajMalik
Getting tiny bit confused, Ned:
 
My block [594 - 604] is:
<!-- begin subscribe_block -->
<tr class="middle">
<td height="1" colspan="2"></td>
</tr>
<tr class="usual">
<td></td>
<td>
<label><input type="checkbox" name="subscribe" {subscribe} value="1"> {SUBSCRIBE_CHECKBOX_MSG}</label>
</td>
</tr>
<!-- end subscribe_block -->
 
Ned
Ned
No problem Chris,
Try
<td>
<label><input type="checkbox" name="subscribe" {subscribe} value="1" checked="checked"> {SUBSCRIBE_CHECKBOX_MSG}</label>
</td>
 
SajMalik
SajMalik
Magic, Ned (and eelrid), thanks guys!!!