Gift Message Not Printing on Invoice

Started by ajentp, November 06, 2006, 02:31:04 PM

Previous topic - Next topic

ajentp

David,

I also have a problem regrading gift message. Although it is exactly same as Michele has.

I am trying to print out Gift message on packing list and it is not working. I use variable order_gift_message. Every time I try to print out, it just print out the variable itself instead of its value: Here is template I am using. By the way, I am still using 1.1.2.8. Not irrelevant to mention that when I use this variable order_gift_message in the invoice template, it work just fine. No problem.

<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 6.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<style>
.tableLabels  { font-size: 12pt; text-align: Center; word-spacing: 0; text-indent: 0;
                line-height: 100%; font-weight: bold; margin: 0 }
.tableCenter  { font-size: 10pt; text-align: Center; word-spacing: 0; text-indent: 0;
                line-height: 100%; margin: 0 }
.tableLeft    { font-size: 10pt; text-align: Left; word-spacing: 0; text-indent: 0;
                line-height: 100%; margin: 0 }
</style>
<title>Picklist</title>
</head>

<body style="font-family: Arial; font-size: 10pt">

<table border="0" cellpadding="2" width="100%">
  <tr>
    <td width="30%"><img SRC="logo.jpg"><br>
    <font size="2">6400 W Main St, Suite-3C, <br>
    Belleville, IL 62223, USA<br>
    <b>(877)-720-4058</b> </font></td>
    <td width="70%" valign="middle" align="center"><font face="Arial Black" size="7" color="#808080">Packing List</font></td>
  </tr>
</table>
<br>
<table border="0" cellpadding="2" width="100%">
  <tr><td width="100%"><font size="2"><b>Orders: </b>cc200 order_id</font></td></tr>
  <tr><td width="100%"><font size="2"><b>Date: </b>order_date</font></td></tr>
</table>
<br>
<table BORDER="0" CELLSPACING="0" WIDTH="100%" bordercolor="#000000" cellpadding="5">
  <tr>
    <td WIDTH="20%" VALIGN="middle" style="border: 2 solid #000000" height="20"><p class="tableLabels">PRODUCT ID</td>
    <td WIDTH="10%" VALIGN="middle" style="border: 2 solid #000000" height="20"><p class="tableLabels">QTY</td>
    <td WIDTH="70%" VALIGN="middle" style="border: 2 solid #000000" height="20"><p class="tableLabels">ITEM DESCRIPTION</td>
  </tr>
  <tr>
    <td WIDTH="20%" VALIGN="TOP" style="border-left: 1 solid #000000; border-right: 1 solid #000000"><p class="tableCenter">item_code</font></td>
    <td WIDTH="10%" VALIGN="TOP" style="border-right: 1 solid #000000"><p class="tableCenter">item_quantity</font></td>
    <td WIDTH="70%" VALIGN="TOP" style="border-right: 1 solid #000000"><p class="tableLeft">item_description item_options</font></td>
  </tr>
  <tr>
    <td WIDTH="20%" height="10" style="border-left: 1 solid #000000; border-right: 1 solid #000000; border-bottom: 1 solid #000000">&nbsp;</td>
    <td WIDTH="10%" height="10" style="border-right: 1 solid #000000; border-bottom: 1 solid #000000">&nbsp;</td>
    <td WIDTH="70%" height="10" style="border-right: 1 solid #000000; border-bottom: 1 solid #000000">&nbsp;</td>
  </tr>
</table>
<table border="0" cellpadding="2" width="100%">
  <tr><td width="100%"><b><font size="4">Via order_ship_method</font></b></td></tr>
</table>

<p>&nbsp;</p>

<p>Gift Message : order_gift_message</p>

</body>
</html>

David Johns

Ahsan,

It looks like you could be using a report of type "Summary" or "Range"  this variable only applies to reports of type "Invoice".  You set a type for each report by selecting it and choosing the type under "View" | "Store Settings..." | "Reports".

Thanks,
David
SuperManager Support
info@thesupermanager.com

ajentp