Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can you put the comments field on invoice


rbruntzjr

Recommended Posts

I'm using ver. 2.3.1 The only place I can see comments that the customer put in is when you click on Edit on their order. Is there a way that their comments can be added to the Invoice and or Packing Slip?

Link to comment
Share on other sites

Fancier Invoice and Packing Slip could do this - but alas it is not yet compatible with 2.3.1

Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.

Link to comment
Share on other sites

In a standard setup of osc, the first comment is always a customer comment (or blank).

 

So, this:

 

     $comment_query = tep_db_query("select comments from " . TABLE_ORDERS_STATUS_HISTORY . " where orders_id = '" . (int)$oID . "' LIMIT 1");
     $comment = tep_db_fetch_array($comment_query);
     echo $comment['comments'];

 

should get that.

 

Untested, so don't quote me ;)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...