Page 1 of 3 123 LastLast
Results 1 to 10 of 21
  1. #1
    Join Date
    Sep 2007
    Posts
    72
    Plugin Contributions
    0

    Default Editing Packing slips and invoices

    HTML Code:
    <table border="1" cellspacing="0" cellpadding="5">
              <tr>
                <td class="smallText" align="center"><strong>Date Added</strong></td>
                <td class="smallText" align="center"><strong>Customer Notified</strong></td>
                <td class="smallText" align="center"><strong>Status</strong></td>
                <td class="smallText" align="center"><strong>Comments</strong></td>
    
              </tr>
              <tr>
                <td class="smallText" align="center">08/21/2008 17:26:40</td>
                <td class="smallText" align="center"><img src="images/icons/tick.gif" border="0" alt="True" title=" True "></td>
                <td class="smallText">Processing</td>
                <td class="smallText">--none--&nbsp;</td>
              </tr>
    
            </table>
    A table like the one that I pasted code for above shows up on all packing slips and invoices I would like to know how to remove it.

    Thank you in advance.

  2. #2
    Join Date
    Sep 2007
    Posts
    72
    Plugin Contributions
    0

    Default Re: Editing Packing slips and invoices

    I did some more research after posting this and found the answer myself...

    In the case anyone else is looking to do the same thing here is how I did it.
    There are options in the configureation --> Shipping/Packaging

    Display Order Comments on Admin Invoice
    Display Order Comments on Admin Packing Slip

    I simply set both of these to 0 and the box was gone form each document.

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Editing Packing slips and invoices

    Thanks for the update that you did find the switch to manage the appearance of the tables rather than having to touch the code ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4
    Join Date
    Sep 2007
    Posts
    72
    Plugin Contributions
    0

    Default Re: Editing Packing slips and invoices

    Quote Originally Posted by Ajeh View Post
    Thanks for the update that you did find the switch to manage the appearance of the tables rather than having to touch the code ...
    sure thing.. I knew there had to be some sort of switch for it!!!

  5. #5
    Join Date
    Sep 2007
    Posts
    72
    Plugin Contributions
    0

    Default Re: Editing Packing slips and invoices

    I need to make some further edits to the packing slip and invoice.

    on the invoice we would like to:
    edit the shipping method to say.. shipping method & handling.

    on the packing slip we would like to:
    flip flop the bill/ship to addresses
    add some lines before and after the bill/ship to addresses
    and add a line to the address above the name.

    I figure files need to be edited.. i just do not know which files.

    thanks in advance.

  6. #6
    Join Date
    Sep 2007
    Posts
    72
    Plugin Contributions
    0

    Default Re: Editing Packing slips and invoices

    can anyone help?

  7. #7
    Join Date
    Sep 2007
    Posts
    72
    Plugin Contributions
    0

    Default Re: Editing Packing slips and invoices

    any help would be greatly appreciated.

  8. #8
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Editing Packing slips and invoices

    You would have to customize the files for:
    /admin/invoice.php
    /admin/packingslip.php

    The change on the shipping text in the totals from the method actually used to just text would require changing the section around:
    Code:
    <?php
      for ($i = 0, $n = sizeof($order->totals); $i < $n; $i++) {
        echo '          <tr>' . "\n" .
             '            <td align="right" class="'. str_replace('_', '-', $order->totals[$i]['class']) . '-Text">' . $order->totals[$i]['title'] . '</td>' . "\n" .
             '            <td align="right" class="'. str_replace('_', '-', $order->totals[$i]['class']) . '-Amount">' . $order->totals[$i]['text'] . '</td>' . "\n" .
             '          </tr>' . "\n";
      }
    ?>
    To change the order of the addresses, look for:
    zen_address_format

    And you will see 3 sets:
    $order->customer
    $order->billing
    $order->delivery

    Change the order on them to match what you want ...

    NOTE: Make an Order with 3 different addresses to test this so you do not goober things up ...

    You might add border="1" to some of the tables to help you arrange where to add the text that you want ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  9. #9
    Join Date
    Sep 2007
    Posts
    72
    Plugin Contributions
    0

    Default Re: Editing Packing slips and invoices

    Quote Originally Posted by Ajeh View Post
    You would have to customize the files for:
    /admin/invoice.php
    /admin/packingslip.php

    The change on the shipping text in the totals from the method actually used to just text would require changing the section around:
    Code:
    <?php
      for ($i = 0, $n = sizeof($order->totals); $i < $n; $i++) {
        echo '          <tr>' . "\n" .
             '            <td align="right" class="'. str_replace('_', '-', $order->totals[$i]['class']) . '-Text">' . $order->totals[$i]['title'] . '</td>' . "\n" .
             '            <td align="right" class="'. str_replace('_', '-', $order->totals[$i]['class']) . '-Amount">' . $order->totals[$i]['text'] . '</td>' . "\n" .
             '          </tr>' . "\n";
      }
    ?>
    To change the order of the addresses, look for:
    zen_address_format

    And you will see 3 sets:
    $order->customer
    $order->billing
    $order->delivery

    Change the order on them to match what you want ...

    NOTE: Make an Order with 3 different addresses to test this so you do not goober things up ...

    You might add border="1" to some of the tables to help you arrange where to add the text that you want ...
    Thanks for the info. I was able to take care of most of my changes but I am still struggling to change the text next to shipping totals. Could you please provide me more assistance with that?

  10. #10
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Editing Packing slips and invoices

    See if you can intercept the class ot_shipping which would be:
    $order->totals[$i]['class']

    and when that is: ot_shipping

    you say something different ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. Replies: 3
    Last Post: 17 Jun 2012, 07:21 PM
  2. Customizing Invoices and Packing Slips
    By Crzipilot in forum Managing Customers and Orders
    Replies: 2
    Last Post: 29 Nov 2010, 07:31 AM
  3. Ordering of items on invoices and packing slips
    By d0ugparker in forum Managing Customers and Orders
    Replies: 1
    Last Post: 17 Aug 2009, 01:05 AM
  4. changing the invoices and packing slips
    By wills in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 10 Nov 2008, 09:11 AM
  5. Order Invoices and Packing Slips Question
    By nrg77 in forum Managing Customers and Orders
    Replies: 8
    Last Post: 12 Jul 2007, 07:01 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR