Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Better packing slip Rate Topic   * * * * * 1 votes

 
  • Microbe
  • Junior Member
  • Members
  • Join Date: 10-Feb 10
  • 29 posts

Posted 15 October 2011 - 09:54 PM #1

I wasn't happy with the way packing slips looked. The address was centered, too small and looked wimpy, especially for overseas mailing (most of ours). Plus because the packing slips are folded and put into those clear sticky mailing pouches, having it left aligned meant not having to do origami to get it in the window properly.

Here's my mod for /skins/(template)/mail/orders/print_packing_slip.tpl to give it a nice big address and left aligned.

<table cellpadding="0" cellspacing="0" border="0" width="100%" style="background-color: #f4f6f8; height: 100%;">
<tr>
	<td align="center" style="width: 100%; height: 100%;">
	<div style="background-color: #ffffff; border: 1px solid #e6e6e6; margin: 0px auto; padding: 0px 44px 0px 0; width: 510px; text-align: left;">
		{assign var="profile_fields" value='I'|fn_get_profile_fields}
		{split data=$profile_fields.C size=2 assign="contact_fields" simple=true}
		{if $profile_fields.S}
		<table cellpadding="0" cellspacing="0" border="0" width="100%" style="padding-top: 32px;">
		<tr valign="top">
			<td width="100%" align="left" style="border-bottom: 1px dashed #000000; padding-bottom: 20px;">
				<h3 style="font: normal 13px Tahoma; padding: 0px 0px 3px 1px; margin: 0px;">{$lang.ship_to}:</h3>
				{if $order_info.s_firstname || $order_info.s_lastname}
				<p style="margin: 2px 0px 3px 0px;font-size:150%;">
					{$order_info.s_firstname} {$order_info.s_lastname}
				</p>
				{/if}
				{if $order_info.s_address || $order_info.s_address_2}
				<p style="margin: 2px 0px 3px 0px;font-size:150%;">
					{$order_info.s_address} {$order_info.s_address_2}
				</p>
				{/if}
				{if $order_info.s_city || $order_info.s_state_descr || $order_info.s_zipcode}
				<p style="margin: 2px 0px 3px 0px;font-size:150%;">
					{$order_info.s_city} {$order_info.s_state_descr} {$order_info.s_zipcode}
				</p>
				{/if}
				{if $order_info.s_country_descr}
				<p style="margin: 2px 0px 3px 0px;font-size:150%;">
					{$order_info.s_country_descr}
				</p>
				{/if}
				{include file="profiles/profiles_extra_fields.tpl" fields=$profile_fields.S}
			</td>
		</tr>
		<tr valign="top" class="scissors">

[EDIT] It looks like this

Posted Image


Hope it is useful for someone.

 
  • The Tool
  • Been Here Way Too Long Member
  • Members
  • Join Date: 30-Mar 07
  • 3966 posts

Posted 15 October 2011 - 11:36 PM #2

You may want to post a screenshot to let others know what this looks like.

 
  • Microbe
  • Junior Member
  • Members
  • Join Date: 10-Feb 10
  • 29 posts

Posted 16 October 2011 - 10:14 PM #3

You may want to post a screenshot to let others know what this looks like.

Thanks for the suggestion - DONE

 
  • Microbe
  • Junior Member
  • Members
  • Join Date: 10-Feb 10
  • 29 posts

Posted 31 October 2011 - 12:21 AM #4

A bit more to this: Our orders are regularly 1 item, 1 item, 1 item then once in a while someone orders 2 and it is easy to miss.

So I have added the following mod to print_packing_slip.tpl:

<td style="padding: 5px 10px; background-color: #ffffff; text-align: center;">{$oi.amount}</td>
			</tr>
becomes

<td style="padding: 5px 10px; background-color: #ffffff; text-align: center;{if $oi.amount > 1}font-size:200%;font-weight:bold;{/if}">{$oi.amount}</td>
			</tr>

making the qty larger and bold if it is greater than 1

 

Posted 13 November 2011 - 06:29 AM #5

I'm impressed. That's a really good idea!

Although, i'd be inclined to make all the QTY numbers larger and bold. It should be like that by default.

And then the product options chosen for the product (size, colour, etc) should also be extra large and in bold.

Thank you!


 
  • Microbe
  • Junior Member
  • Members
  • Join Date: 10-Feb 10
  • 29 posts

Posted 13 November 2011 - 08:09 AM #6

I'm impressed. That's a really good idea!

Although, i'd be inclined to make all the QTY numbers larger and bold. It should be like that by default.

And then the product options chosen for the product (size, colour, etc) should also be extra large and in bold.


Thanks. Actually I am surprised no one else had done it. I am happy with a single qty being normal size as an order for more than 1 item is unusual so I want it to stand out.

As for your mods, easy to implement based on the changes I made. Just takes some trial and error to get it right.


If you do it, post the code here