Zen Cart Logo
Forums / Managing Customers and Orders / Keep Order Comments Private

Keep Order Comments Private

Locked

Views: 2,034

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
4 Apr 2008, 6:58 PM
#1
pglock avatar

pglock

New Zenner

Join Date:
Jun 2006
Location:
UK
Posts:
65
Plugin Contributions:
0

Keep Order Comments Private

I'd like to understand a little more about how the comments added through admin. We use the comments field to track internal order process status (i.e. who the order has been handed to to process) but don't send these comments to the customer.

Are customers able to view these comments anywhere else?

Regards

Peter

6 Apr 2008, 10:33 PM
#2
wolfsz avatar

wolfsz

Zen Follower

Join Date:
Mar 2006
Location:
Australia
Posts:
286
Plugin Contributions:
3

Re: Keep Order Comments Private

Hi,
you'll need to test this but I think the comments appear on all order confirmation, this would include those when you update the status to processing or shipped.

6 Apr 2008, 11:30 PM
#3
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Keep Order Comments Private

look in the downloads there is an admin niotes, that will alow you to have public notes and private notes per order

7 Apr 2008, 8:39 PM
#4
pglock avatar

pglock

New Zenner

Join Date:
Jun 2006
Location:
UK
Posts:
65
Plugin Contributions:
0

Re: Keep Order Comments Private

Thanks for the suggestion. Admin Notes is based on 1.3.7. I did a quick comparison of the orders.php and superorders.php with my 1.3.8a installation and there are significant differences in orders.php so I won't try to install until there's a 1.3.8 version available.

7 Apr 2008, 9:20 PM
#5
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: Keep Order Comments Private

If you look there are well documented changes,
these can be added into the 1.3.8 files with ease

27 Jun 2008, 11:07 PM
#6
craft_magick avatar

craft_magick

Zen Follower

Join Date:
Nov 2007
Posts:
166
Plugin Contributions:
0

Re: Keep Order Comments Private

I successfully installed ADMIN NOTES on my version 1.3.8 site and it worked wonderfully HOWEVER...

After that, I also installed the EDIT ORDERS module.

EDIT ORDERS now works perfectly but ADMIN NOTES have completely disappeared.

Any help would be welcomed and appreciated.

Here's a link to the website if it helps http://www.craftmagick.com

I tried to include a copy of my entire ADMIN/ORDERS.PHP file but it was too long and I wasn't sure WHICH sections would be necessary for someone to view so here is what I think is the part relating to ADMIN NOTES:

// BOF Admin order notes
    case 'update_admin_comments':
    	  	$oID = zen_db_prepare_input($_GET['oID']);
    		$comments = zen_db_prepare_input($_POST['admin_comments']);
    		$order_updated = false;
    		
    		$db->Execute("insert into " . TABLE_ADMIN_COMMENTS . " (orders_id, date_added, comments) values ('" . (int)$oID . "', now(), '" . zen_db_input($comments)  . "')");
    
              $order_updated = true;
          
            if ($order_updated == true) {
             $messageStack->add_session('Admin Comments Updated', 'success');
            } else {
              $messageStack->add_session('Admin Comments Not Updated', 'warning');
            }
    
            zen_redirect(zen_href_link(FILENAME_ORDERS, zen_get_all_get_params(array('action')) . 'action=edit'));
            break;
    // EOF Admin order notes

If you need to see other parts of the orders.php file just let me know.

Undying Gratitude to anyone that can help... :D

Zencart ROCKS!

8 Jul 2008, 1:33 PM
#7
athena avatar

athena

Totally Zenned

Join Date:
Jan 2006
Location:
NM
Posts:
740
Plugin Contributions:
0

Re: Keep Order Comments Private

I'm going to work on installing these same mods today. I'll post my results.

8 Jul 2008, 1:53 PM
#8
athena avatar

athena

Totally Zenned

Join Date:
Jan 2006
Location:
NM
Posts:
740
Plugin Contributions:
0

Re: Keep Order Comments Private

I apologize....I was looking for the old info_at_a_glance_admin_v_1.5 but it has either been renamed or is no longer offered. If anyone knows where I can find this I'd appreciate it.

My guess Craft Magick is that if you undo your install and reverse the order of installing the mods, since the edits to admin>orders replaces sections of code...you may have replaced your edits on the first mod to install the admin notes mod. just a guess.

9 Jul 2008, 7:45 AM
#9
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Keep Order Comments Private

athena:

I apologize....I was looking for the old info_at_a_glance_admin_v_1.5 but it has either been renamed or is no longer offered. If anyone knows where I can find this I'd appreciate it.
You mean this? http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=98

9 Jul 2008, 2:25 PM
#10
athena avatar

athena

Totally Zenned

Join Date:
Jan 2006
Location:
NM
Posts:
740
Plugin Contributions:
0

Re: Keep Order Comments Private

found it...thank you...