Admin Order Comments - change check box default to unchecked

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
wave_werks
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 91
Joined: Mon Sep 22, 2008 8:37 pm
Location: Northeast Ohio
Contact:

Admin Order Comments - change check box default to unchecked

Post by wave_werks » Wed May 06, 2009 3:25 pm

Hello,

How can we change the check box in the order history and notes section of the orders screen within the admin to default to unchecked. As of now it is automatically checked making the comments private unless the box is unchecked. We will have little to no use for private comments and would benefit greatly from having this box unchecked by default.

Thanks in advance for your help!
- Jeff
Wave Werks

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Admin Order Comments - change check box default to unchecked

Post by mazhar » Thu May 07, 2009 3:15 am

Edit your Website/Admin/OrderHistory.aspx page and locate following code block

Code: Select all

if (!Page.IsPostBack)
        {
            BindOrderNotes();
            AddIsPrivate.Checked = true;
        }
and then modify it as below

Code: Select all

if (!Page.IsPostBack)
        {
            BindOrderNotes();
            AddIsPrivate.Checked = false;
        }

Post Reply