Results 1 to 8 of 8
  1. #1
    Join Date
    Apr 2008
    Posts
    92
    Plugin Contributions
    0

    Default Print shipping labels...

    When I prep to ship a package, I can print the invoice, I can print the packing slip, but can't seem to print a customized shipping label to stick to the shipping box unless I use either USPS or Canada Post etc.

    Has anyone created a way to do this and I'm just not finding it?

    What I want is a one button click that will create a document, that shows my company logo in the top left corner and the customer's shipping address which I can then stick to their box.

    Currently, I have to go into Word to create one and it seems to me quite a simple thing to do from Zen...

    Any help is appreciated.

    Thanks

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Print shipping labels...

    You might check in the downloads area...
    I recall one module that allowed the use of a paid service for labels and there might others

  3. #3
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,587
    Plugin Contributions
    29

    Default Re: Print shipping labels...

    Supoer Orders has an option to print a shipping label. I don't use it, but it's there.

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Print shipping labels...

    Thanks jeking,
    Quote Originally Posted by jeking
    Super Orders has an option to print a shipping label. I don't use it, but it's there.
    I can not stay fully current on what each module does or does not do...

    Isn't the community wonderful!!!!

  5. #5
    Join Date
    Jul 2008
    Location
    San Diego, CA
    Posts
    45
    Plugin Contributions
    0

    Default Re: Print shipping labels...

    Here is a start to what you want. Hopefully others can improve upon this.

    In Admin/Orders.php, I added a shipping button next to the invoice and packing slip buttons.

    Here are the file changes.
    In Includes/filenames.php
    Code:
    define('FILENAME_ORDERS_SHIPPINGLABLE', 'shippinglable');
    In Admin/Orders.php
    Added to this block of text (around line 602)
    Code:
    <?php echo 
    		'<a href="' . zen_href_link(FILENAME_ORDERS_INVOICE, 'oID=' . $_GET['oID']) . '" TARGET="_blank">' . zen_image_button('button_invoice.gif', IMAGE_ORDERS_INVOICE) . '</a> 
    		<a href="' . zen_href_link(FILENAME_ORDERS_PACKINGSLIP, 'oID=' . $_GET['oID']) . '" TARGET="_blank">' . zen_image_button('button_packingslip.gif', IMAGE_ORDERS_PACKINGSLIP) . '</a>
    		<a href="' . zen_href_link(FILENAME_ORDERS_SHIPPINGLABLE, 'oID=' . $_GET['oID']) . '" TARGET="_blank">' . zen_image_button('button_shippinglable.gif', IMAGE_ORDERS_SHIPPINGLABLE) . '</a>  
    		<a href="' . zen_href_link(FILENAME_ORDERS, zen_get_all_get_params(array('action'))) . '">' . zen_image_button('button_orders.gif', IMAGE_ORDERS) . '</a>'; ?>
    and around line (869)
    Code:
    	    $contents[] = array('align' => 'center', 'text' => 
    		'<a href="' . zen_href_link(FILENAME_ORDERS_INVOICE, 'oID=' . $oInfo->orders_id) . '" TARGET="_blank">' . zen_image_button('button_invoice.gif', IMAGE_ORDERS_INVOICE) . '</a> 
    		<a href="' . zen_href_link(FILENAME_ORDERS_PACKINGSLIP, 'oID=' . $oInfo->orders_id) . '" TARGET="_blank">' . zen_image_button('button_packingslip.gif', IMAGE_ORDERS_PACKINGSLIP) . '</a>
    		<a href="' . zen_href_link(FILENAME_ORDERS_SHIPPINGLABLE, 'oID=' . $oInfo->orders_id) . '" TARGET="_blank">' . zen_image_button('button_shippinglable.gif', IMAGE_ORDERS_SHIPPINGLABLE) . '</a>');
    Created file Admin/Shippinglable.php (actually started from packingslip.php and modified). The code below is just the "body" I made no changes to the head section. This file is not formatted yet as I still need to work with my client on their specific label size, printer, etc.

    Code:
    <table width="400" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td colspan="2" class="main"><?php echo nl2br(STORE_NAME_ADDRESS); ?></td>
     <!--       <td class="pageHeading" align="right"><?php echo zen_image(DIR_WS_IMAGES . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT); ?></td> -->
        <td width="103">&nbsp;</td>
      </tr>
      <tr>
        <td width="83" valign="top" class="formAreaTitle">&nbsp;</td>
        <td width="214" class="main">&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td valign="top" class="formAreaTitle"><b>SHIP TO:</b></td>
        <td class="main"><?php echo zen_address_format($order->delivery['format_id'], $order->delivery, 1, '', '<br>'); ?></td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td bordercolor="#000000">&nbsp;</td>
        <td colspan="2" bordercolor="#000000">&nbsp;</td>
      </tr>
      <tr>
        <td height="19" colspan="2" bordercolor="#000000"><div align="center">UPS GROUND TRACK</div></td>
        <td rowspan="2" bgcolor="#000000">&nbsp;</td>
      </tr>
      <tr>
        <td height="23" colspan="2" bordercolor="#000000"><div align="center">Tracking Number</div></td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td height="68" colspan="3"><div align="center">BAR CODE HERE</div></td>
      </tr>
      <tr>
        <td colspan="3">&nbsp;</td>
      </tr>
      <tr>
        <td height="76" colspan="3">&nbsp;</td>
      </tr>
    </table>
    Finally created new button: Admin/includes/languages/english/images/buttons/button_shippinglable.gif.

    Can anyone create a button that matches the text style of the other buttons on the Order page?

    Well, its a start. I hope others can add some insight and suggestions.

  6. #6
    Join Date
    Feb 2008
    Location
    Washington State
    Posts
    236
    Plugin Contributions
    0

    Default Re: Print shipping labels...

    Quote Originally Posted by rweeks View Post
    Admin/includes/languages/english/images/buttons/button_shippinglable.gif.
    I also wanted something like this. Would it be possible to share the button? Perhaps a web URL to the graphic? Oh, speaking of which I think you might have a typo: Admin/includes/languages/english/images/buttons/button_shippinglable.gif. (wouldn't it be button_shippinglabel.gif?)
    ~ jasmel : My Store Using Contributions: Wallet Theme | Simple Google | Quantity Discounts | Godaddy | FAQ's | Confirm Email Address Entry | Admin login as customer | Newsletter Subscribe | CampaingMonitor

  7. #7
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Print shipping labels...

    Quote Originally Posted by jasmel
    I also wanted something like this. Would it be possible to share the button?
    Hope rweeks does not mind??
    Copy and remove space paste into your browser address bar, right click the image and save
    Code:
    http: //www.fabfotoframes.com/admin/includes/languages/english/images/buttons/button_shippinglable.gif

  8. #8
    Join Date
    Jul 2008
    Location
    San Diego, CA
    Posts
    45
    Plugin Contributions
    0

    Default Re: Print shipping labels...

    Don't mind at all, Kobra.

    I did not like the look of the first button I made (probably because I only spent about 5 minutes on it) I created one with UPS logo instead.
    The link from Kobra is the UPS logos:
    Code:
    http://www.fabfotoframes.com/admin/includes/languages/english/images/buttons/button_shippinglable.gif
    Here is the original quickie button (with typo corrected).
    Code:
    http://www.fabfotoframes.com/admin/includes/languages/english/images/buttons/button_shippinglabel_Original.gif

 

 

Similar Threads

  1. Replies: 1
    Last Post: 27 Jan 2012, 06:35 PM
  2. USPS Shipping Software - Pulls from Zen Cart database - Print labels with postage
    By monkeyboy68 in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 17 Feb 2009, 06:57 PM
  3. How to print Fedex shipping labels?
    By wootoot1212 in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 31 May 2008, 08:59 PM
  4. any way to print prepaid shipping labels?
    By snarkys in forum Built-in Shipping and Payment Modules
    Replies: 8
    Last Post: 6 May 2007, 09:37 PM

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