Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Usergroups Status Unchecked By Default Rate Topic   - - - - -

 
  • fishtail
  • Member
  • Members
  • Join Date: 11-Jan 10
  • 123 posts

Posted 22 April 2014 - 11:25 PM #1

Under the Admin section - Customers - Usergroups - status... I don't understand why CS-Cart doesn't make these unchecked by default.

In version 4.1.2 I had these checkboxes (among others) disabled by default by editing the code in:
- Design/backend/templates/views/usergroups/update.tpl
- Design/backend/templates/views/profiles/update.tpl

I just removed 'checked="checked"'.

But now the code seems to have changed and I can no longer find the code that makes these checkboxes unchecked by default.

Can anyone help me find a solution?

Thanks.

 
  • fishtail
  • Member
  • Members
  • Join Date: 11-Jan 10
  • 123 posts

Posted 23 April 2014 - 12:06 AM #2

Found the solution. Apparently it never changed, I just wrote down the wrong location in my "CS-Cart changes" notes.

design/backend/templates/common/select_popup.tpl

Find this line:

<input type="checkbox" name="__notify_user" id="{$prefix}_{$id}_notify" value="Y" checked="checked" onclick="Tygh.$('input[name=__notify_user]').prop('checked', this.checked);" />

Remove: checked="checked".