osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Customer Notes (Anmerkungen zu Kunden)

This is a discussion on Customer Notes (Anmerkungen zu Kunden) within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; If you want to highlight the customers name in red also in the orders overview, in all orders made by ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > New osCommerce Contributions

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 01-06-2008, 10:00 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,203
Thanks: 66
Thanked 291 Times in 277 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Post Customer Notes (Anmerkungen zu Kunden)

If you want to highlight the customers name in red also in the orders overview,
in all orders made by a customer with comments, you have to do the following:

Open catalog/admin/orders.php

On line 376 change:



to the following:

### begin customer notes by tabsl v2.1|2008 ###

### end customer notes by tabsl v2.1|2008 ###



On line 375 change:

?>

to the following:

### begin customer notes ###
$ias_notes_marker = false;
$ias_notes_mark = tep_db_query("SELECT customers_notes_id FROM customers_notes WHERE customers_id = ".$orders['customers_id']);
if(tep_db_num_rows($ias_notes_mark)) $ias_notes_marker = true;
### end customer notes ###
?>

Thats it, now all orders made by a customer with comments will highlight the customers name in red.
All credit goes to the author of the contribution.

This is a full package, contains all files from v2.0 plus text file with the installation above.


More...
__________________
Michael Sasek
osCMax Developer


osCMax Templates - Hundreds of premium quality templates. New designs every month!

xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience


osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Customer Notes (Anmerkungen zu Kunden) michael_s New osCommerce Contributions 0 01-04-2008 06:00 PM
Admin Notes michael_s New osCommerce Contributions 0 12-18-2007 10:11 AM
Release Notes osCommerce Contribution.pdf michael_s New osCommerce Contributions 0 05-16-2007 07:40 AM
Customer Notes (Anmerkungen zu Kunden) michael_s New osCommerce Contributions 0 04-26-2007 12:30 AM
Admin Notes michael_s New osCommerce Contributions 0 02-27-2007 01:51 PM


All times are GMT -8. The time now is 07:05 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2008 osCMax