View Full Version : Address labels/ despatch notes
Hi all,
I'm trying to amend the despatch note default template to include the delivery address at the bottom of the template. The reason is I want to use an integrated peel off label. The label is always on the same position on the paper however depending on the number of items ordered the address will move down the page. I could of course use a label positioned above the items ordered but due to other requirements this is not possible.
I'd be interested to know how everyone produces delivery labels, use integrated labels and whether you have amended the default template.
Additionally, if anyone knows how to fix a table to the bottom of the page which is unaffected by the number of items ordered i'd love to know.;)
Thanks.
Hi Paul,
We used to have the label at the bottom. When we started using bluepark we switched the label to the top. It was a bit of a squeeze but we managed to get everything in that we wanted at the top. Took quite a while fiddling with the tables to get everything in.
This also helps when the number of items ordered runs onto another page.
thanks for the reply Chris.
I found the site below which offers the widest range at the best prices and think there is something there for me. Now its just a matter of getting those tables right! Did you do it using the wysiwyg editor and trial and error or is there some other application which makes it easier? Something which shows the margins and domensions on the screen as you edit would be useful.
http://www.integratedlabels.net/index.asp?global=1
Hi Paul,
We use integratedlabels. We have done since we started. They're a nice company, really nice people and our labels always turn up the next day when we order.
I'm happy to share the code for my despatch note with you if you like. Obviously it'll need customising for you but at least the label will be in the right place already!
Here's the code: -
<style type="text/css"> BODY { MARGIN: 10px 0px; FONT: 12px arial, sans-serif; COLOR: #000000; TEXT-ALIGN: center } P { FONT: 12px arial, sans-serif; COLOR: #000000 } TD { FONT: 12px arial, sans-serif; COLOR: #000000 } H1 { MARGIN: 0px; FONT: bold 18px arial, sans-serif; COLOR: #000000 } H2 { MARGIN: 0px; FONT: bold 14px arial, sans-serif; COLOR: #000000 } HR { BORDER-RIGHT: 0px; BORDER-TOP: 0px; BACKGROUND: #808080; BORDER-LEFT: 0px; WIDTH: 100%; COLOR: #808080; BORDER-BOTTOM: 0px; HEIGHT: 1px } .wrapper { MARGIN: 0px auto; WIDTH: 640px } .gap { DISPLAY: block; MARGIN-BOTTOM: 5px } .gap2 { MARGIN-TOP: 5px; DISPLAY: block } .footer { FONT: 11px arial, sans-serif; COLOR: #000000 } .footer P { FONT: 11px arial, sans-serif; COLOR: #000000 }</style><div class="wrapper"><table cellpadding="0" cellspacing="0" width="100%"><tbody></tbody></table><table cellpadding="0" cellspacing="0" width="100%"><tbody></tbody></table><table border="0" width="100%"><tbody><tr><td align="right" style="width: 40%"><table border="0" style="width: 290px; height: 201px; border: 1px dashed" width="290"><tbody><tr><td style="border: 0px solid"><p align="right">%invoicenumber</p><h4 align="left"> RETURNS<br /> %shop_name<br /> %shop_address_1<br /> %shop_address_2<br /> %shop_towncity<br /> %shop_county,<br /> %shop_postcode<br /> UNITED KINGDOM</h4></td></tr></tbody></table></td><td style="width: 10%"> </td><td valign="top"><table border="0" style="width: 276px; height: 25px"><tbody><tr><td><p align="right"><br /><br />%invoicenumber</p></td></tr></tbody></table><table cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td style="width: 50%" valign="top"><h4 align="left">%shipping_title %shipping_firstname %shipping_lastname <br />%shipping_companyname <br />%shipping_address_1 <br />%shipping_address_2 <br />%shipping_towncity <br />%shipping_county <br />%shipping_postcode <br /><font style="text-transform: uppercase">%shipping_country</font></h4></td></tr></tbody></table><h1 align="right"></h1></td></tr></tbody></table><table border="0" style="width: 642px; height: 25px"><tbody></tbody></table><table border="0" style="width: 640px; height: 25px"><tbody><tr><td> <img align="textTop" height="56" src="/user/templates/sd-main/print-logo.gif" width="273" /></td><td valign="bottom"><h1 align="right"> %label_despatchnote</h1></td></tr></tbody></table><table border="0" style="width: 635px; height: 25px"><tbody><tr><td style="width: 50%"><p><strong>Tel:</strong> %shop_telephone<br /><strong>Email:</strong> %shop_email</p><table border="0"><tbody><tr><td><strong>Invoice No:</strong> </td><td>%invoicenumber </td></tr><tr><td><strong>Despatch No:</strong></td><td>%despatchnumber</td></tr><tr><td><strong>Delivery:</strong></td><td>%shippingmethod</td></tr><tr><td><strong>Date:</strong></td><td>%date</td></tr></tbody></table></td><td align="left" style="width: 50%"> <strong>%label_shipping:</strong> <p>%shipping_title %shipping_firstname %shipping_lastname <br />%shipping_companyname <br />%shipping_address_1 <br />%shipping_address_2 <br />%shipping_towncity <br />%shipping_county <br />%shipping_postcode <br /><font style="text-transform: uppercase">%shipping_country</font></p></td></tr></tbody></table>%details </div>
thanks a lot Chris. I'll have a crack at it later today and let you know how i get on.
I ordered samples from integratedlabels last night at 6pm. they turned up first thing this morning in jersey. im still trying to work out how it was done!
Hi Paul,
Just realised we're talking about two different companies.
We use www.integratedlabels.co.uk (http://www.integratedlabels.co.uk)
Your quote mentioned a .net company which is a different organisation. Obviously I can't vouch for them, and my code might not line up if it's a slightly different spec.
I noted there were a lot of companies with the same name. I've managed to create a template now.
Thanks for your offer of help.
TeamTorquesteer
06-10-2007, 08:05
Chris,
Bit of a dumb question Im afraid but where do you add that piece of code?
Thanks
Martin
Hi Martin,
To amend the template code for the despatch note see site configuration|company, at the bottom you will see the 'customer despatch note html' box. If you click on 'source' you will edit in html language, if you click on wysiwyg you will be able to edit visually without the need to know html.
Paul.
TeamTorquesteer
08-10-2007, 05:54
Thanks Paul........knew it was there somewhere!
TeamTorquesteer
08-10-2007, 07:30
Paul/Chris,
Have played around with the templates etc and everything is fine apart from the fact it wont pick up the delivery details!!
The return address if fine. Have checked the code etc and it appears correct.
Any ideas?
Thanks
Martin
Are you referring to the actual order details? '%details' is the variable from memory. I would compare your current template with the default one (always kept for this reason) you can access just below the template field box and see what is missing in the new one.
TeamTorquesteer
08-10-2007, 10:02
Order details are fine. Its just the delivery/shipping address that it doesnt pick......although the order number is there.
This is the code Im using:
<style type="text/css"> BODY { MARGIN: 10px 0px; FONT: 12px arial, sans-serif; COLOR: #000000; TEXT-ALIGN: center } P { FONT: 12px arial, sans-serif; COLOR: #000000 } TD { FONT: 12px arial, sans-serif; COLOR: #000000 } H1 { MARGIN: 0px; FONT: bold 18px arial, sans-serif; COLOR: #000000 } H2 { MARGIN: 0px; FONT: bold 14px arial, sans-serif; COLOR: #000000 } HR { BORDER-RIGHT: 0px; BORDER-TOP: 0px; BACKGROUND: #808080; BORDER-LEFT: 0px; WIDTH: 100%; COLOR: #808080; BORDER-BOTTOM: 0px; HEIGHT: 1px } .wrapper { MARGIN: 0px auto; WIDTH: 640px } .gap { DISPLAY: block; MARGIN-BOTTOM: 5px } .gap2 { MARGIN-TOP: 5px; DISPLAY: block } .footer { FONT: 11px arial, sans-serif; COLOR: #000000 } .footer P { FONT: 11px arial, sans-serif; COLOR: #000000 }</style><div class="wrapper"><table cellpadding="0" cellspacing="0" width="100%"><tbody></tbody></table><table cellpadding="0" cellspacing="0" width="100%"><tbody></tbody></table><table border="0" width="100%"><tbody><tr><td align="right" style="width: 40%"><table border="0" style="width: 290px; height: 201px; border: 1px dashed" width="290"><tbody><tr><td style="border: 0px solid"><p align="right">%invoicenumber</p><h4 align="left"> RETURNS<br /> %shop_name<br /> %shop_address_1<br /> %shop_address_2<br /> %shop_towncity<br /> %shop_county,<br /> %shop_postcode<br /> UNITED KINGDOM</h4></td></tr></tbody></table></td><td style="width: 10%"> </td><td valign="top"><table border="0" style="width: 276px; height: 25px"><tbody><tr><td><p align="right"><br /><br />%invoicenumber</p></td></tr></tbody></table><table cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td style="width: 50%" valign="top"><h4 align="left">%shipping_title %shipping_firstname %shipping_lastname <br />%shipping_companyname <br />%shipping_address_1 <br />%shipping_address_2 <br />%shipping_towncity <br />%shipping_county <br />%shipping_postcode <br /><font style="text-transform: uppercase">%shipping_country</font></h4></td></tr></tbody></table><h1 align="right"></h1></td></tr></tbody></table><table border="0" style="width: 642px; height: 25px"><tbody></tbody></table><table border="0" style="width: 640px; height: 25px"><tbody><tr><td> <img align="textTop" height="56" src="/user/templates/sd-main/print-logo.gif" width="273" /></td><td valign="bottom"><h1 align="right"> %label_despatchnote</h1></td></tr></tbody></table><table border="0" style="width: 635px; height: 25px"><tbody><tr><td style="width: 50%"><p><strong>Tel:</strong> %shop_telephone<br /><strong>Email:</strong> %shop_email</p><table border="0"><tbody><tr><td><strong>Invoice No:</strong> </td><td>%invoicenumber </td></tr><tr><td><strong>Despatch No:</strong></td><td>%despatchnumber</td></tr><tr><td><strong>Delivery:</strong></td><td>%shippingmethod</td></tr><tr><td><strong>Date:</strong></td><td>%date</td></tr></tbody></table></td><td align="left" style="width: 50%"> <strong>%label_shipping:</strong> <p>%shipping_title %shipping_firstname %shipping_lastname <br />%shipping_companyname <br />%shipping_address_1 <br />%shipping_address_2 <br />%shipping_towncity <br />%shipping_county <br />%shipping_postcode <br /><font style="text-transform: uppercase">%shipping_country</font></p></td></tr></tbody></table>%details </div>
Checking the default I cant see whats missing ... ??
Thanks
Martin
and you can see the delviery address in the wysisyg editor? perhaps they are not printing as they are hidden outside a margin?
TeamTorquesteer
08-10-2007, 12:09
Working now Paul.
Thanks
Martin
Hi
I find it easier and quicker to copy and paste the invoice on to self made Word Document and then copy the delivery address in to the bottom left corner, it only takes a minute and if I have 7 items on one order we adjust. I have spoke to Rich about it, but he said it is not possible to adapt the current template.
Angella
www.internetwigs.com (http://www.internetwigs.com)
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.