title: OpenCart - Want to add comments in invoice if order status is shipped
body: <p>I tried a lot but was not successful.</p>
  
  <p>In opencart order admin -> Any order -> History.</p>
  
  <p>There we see below fields:</p>
  
  <ol>
  <li>Order Status (processing, processed, shipped etc etc)</li>
  <li>Notify customer</li>
  <li>Comments</li>
  </ol>
  
  <p><strong>Problem:</strong></p>
  
  <p>As of now <strong>only customer comments</strong> are published when we click PRINT INVOICE (if customer comments are present)</p>
  
  <p>Code for this in order_invoice.tpl (admin\view\template\sale)</p>
  
  <pre><code>         &lt;?php if ($order['comment']) { ?&gt;
    &lt;table class="comment"&gt;
      &lt;tr class="heading"&gt;
        &lt;td&gt;&lt;b&gt;&lt;?php echo $column_comment; ?&gt;&lt;/b&gt;&lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
        &lt;td&gt;&lt;?php echo $order['comment']; ?&gt;&lt;/td&gt;
      &lt;/tr&gt;
    &lt;/table&gt;    
  </code></pre>
  
  <p>I want to also show comments when admin select "Shipped" in order status. </p>
  
  <p><strong>If order_status=shipped then show comments by admin in order_invoice.tpl</strong></p>
  
  <p>Because when admin selects SHIPPED in order status and fills tracking number in comments, TRACKING NUMBER thus will be visible in INVOICE which will help customers to retain proof of tracking as well.</p>
  
  <p>I think in opencart there are two variables <strong>order_status</strong> and <strong>order_status_id</strong></p>
  
  <p>I do not know the exact format and linking of these ...Could you please help me with this?</p>
  
  <p>Thanks in advance</p>