Results 1 to 10 of 10
  1. #1
    Join Date
    Jul 2007
    Posts
    132
    Plugin Contributions
    0

    Default Add shipping method to packing slip ?

    Is there a way to add shipping method to the packing slip (under payment method)

  2. #2
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Add shipping method to packing slip ?

    Well, I dont think there is a short way to do that, just edit the file and add it in. I did that for my site a while ago.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  3. #3
    Join Date
    Sep 2007
    Posts
    35
    Plugin Contributions
    0

    Default Re: Add shipping method to packing slip ?

    how would someone do that?

  4. #4
    Join Date
    Aug 2008
    Posts
    448
    Plugin Contributions
    0

    Default Re: Add shipping method to packing slip ?

    Hi,
    You can do this by editing admin/packingslip.php

    add this code to where ever you want it to display.

    <?php echo $order->info['shipping_method'] ?>

    Good Luck!

  5. #5
    Join Date
    Mar 2008
    Posts
    64
    Plugin Contributions
    0

    Default Re: Add shipping method to packing slip ?

    Im not sure how you got on however this resolved my issue in super orders packing slip..

    http://www.zen-cart.com/forum/showpo...&postcount=720

  6. #6
    Join Date
    Sep 2008
    Location
    Santa Monica, CA
    Posts
    3
    Plugin Contributions
    0

    Default Re: Add shipping method to packing slip ?

    Quote Originally Posted by ebaobao View Post
    Hi,
    You can do this by editing admin/packingslip.php

    add this code to where ever you want it to display.

    <?php echo $order->info['shipping_method'] ?>

    Good Luck!
    Works great, thanks!

  7. #7
    Join Date
    Nov 2008
    Posts
    230
    Plugin Contributions
    0

    Default Re: Add shipping method to packing slip ?

    I'm trying to follow this guideline, but I can't seem to figure it out. I added the above to the packingslip.php like this:

    <tr>
    <td class="main"><b><?php echo ENTRY_PAYMENT_METHOD; ?></b></td>
    <td class="main"> <?php echo $order->info['payment_method']; ?></td>
    </tr>
    <tr>
    <td class="main"><b><?php echo ENTRY_SHIPPING_METHOD; ?></b></td>
    <td class="main"><?php echo $order->info['shipping_method'] ?></td>

    </tr>
    I left the payment method in there for you to see that I laid it out the same way. Instead of it titling it correctly it shows on the packing slip as "ENTRY_SHIPPING_METHOD". If I type it correctly in the php I get an error. If I type it as Shipping_Method, it shows just like that on the packing slip!

    What am I doing wrong?

  8. #8
    Join Date
    May 2011
    Posts
    40
    Plugin Contributions
    0

    Default Re: Add shipping method to packing slip ?

    in case anyone is wondering, <?php echo ENTRY_SHIPPING_METHOD; ?> won't work
    the whole thing should be
    Code:
    <tr>
    	  
    <td class="main"><b><?php echo "Shipping Method:" ?></b></td>
    <td class="main"><?php echo $order->info['shipping_method']; ?></td>
    
    </tr>

  9. #9
    Join Date
    Jan 2006
    Posts
    66
    Plugin Contributions
    0

    Idea or Suggestion Re: Add shipping method to packing slip ?

    Quote Originally Posted by kmcheng View Post
    in case anyone is wondering, <?php echo ENTRY_SHIPPING_METHOD; ?> won't work
    the whole thing should be
    Code:
    <tr>
          
    <td class="main"><b><?php echo "Shipping Method:" ?></b></td>
    <td class="main"><?php echo $order->info['shipping_method']; ?></td>
    
    </tr>
    Nope, you should have left it like this:
    Code:
    <tr>
            <td class="main"><b><?php echo ENTRY_PAYMENT_METHOD; ?></b></td>
            <td class="main"> <?php echo $order->info['payment_method']; ?></td>
    </tr>
     <tr>
    <td class="main"><b><?php echo ENTRY_SHIPPING_METHOD; ?></b></td>
            <td class="main"><?php echo $order->info['shipping_method'] ?></td>      
    
    </tr>
    and then modified the language file at includes/[YOUR_ADMIN_DIR]/languages/[YOUR_LANGUAGE]/packingslip.php to add the following:
    Code:
    define('ENTRY_SHIPPING_METHOD', 'Shipping Method:');
    ZenCart constants (those all uppercase terms) are either defined within the admin or the language files. It's best to keep to the core structure in case someone "down the line" has to work on your cart
    Patti - OnlineCatholicStore.com
    ZC 1.3.9h with multisite mod -- ZC ROCKS!

  10. #10
    Join Date
    May 2011
    Posts
    40
    Plugin Contributions
    0

    Default Re: Add shipping method to packing slip ?

    thanks for the correction, only that the path should be
    [YOUR_ADMIN_DIR]/includes/languages/[YOUR_LANGUAGE]/packingslip.php

 

 

Similar Threads

  1. Add Shipping Method to Packing Slip
    By sarahwhg in forum Managing Customers and Orders
    Replies: 6
    Last Post: 3 Oct 2010, 12:36 AM
  2. Replies: 8
    Last Post: 26 Aug 2010, 12:40 AM
  3. PDF Order Center packing slip not shown shipping method
    By gamenano in forum General Questions
    Replies: 3
    Last Post: 24 Aug 2009, 04:20 AM
  4. Shipping Method detail in packing slip
    By brettw in forum Managing Customers and Orders
    Replies: 1
    Last Post: 2 Oct 2008, 09:55 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