Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

the label template

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-24-2006, 01:54 PM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default the label template

Does anyone know which .tpl displays the labels when you click on "labels for selected" in order admin???

Can't seem to find it by using webmaster mod
__________________
x-cart 4.0.5 (live and heavily modded)
Server: freebsd
Reply With Quote
  #2  
Old 03-24-2006, 01:56 PM
  TelaFirma's Avatar 
TelaFirma TelaFirma is offline
 

X-Adept
  
Join Date: Nov 2002
Location: North Carolina USA
Posts: 930
 

Default

/skin1/main/order_label_print.tpl ???
Reply With Quote

The following user thanks TelaFirma for this useful post:
chiactivate (04-16-2009)
  #3  
Old 03-24-2006, 02:11 PM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default

Doh!!!! , im going to use the excuse that its late and im half asleep

Next question is though - how to remove the extra spaces if a customer hasn't entered a field like address2 so rather than looking like this
Code:
Joe Bloggs 42 eastwood way London SW11XJ United Kingdom

it looks like
Code:
Joe Bloggs 42 eastwood way London SW11XJ United Kingdom
__________________
x-cart 4.0.5 (live and heavily modded)
Server: freebsd
Reply With Quote
  #4  
Old 03-24-2006, 02:14 PM
  TelaFirma's Avatar 
TelaFirma TelaFirma is offline
 

X-Adept
  
Join Date: Nov 2002
Location: North Carolina USA
Posts: 930
 

Default

Code:
{if $customer.s_address_2}{$customer.s_address_2}{/if}


Or

Code:
{if $customer.s_address_2 ne ""}{$customer.s_address_2}{/if}
Reply With Quote
  #5  
Old 12-12-2006, 11:23 AM
 
ryan c. ryan c. is offline
 

Advanced Member
  
Join Date: Sep 2002
Posts: 58
 

Default Re: the label template

neither worked for me . . .
__________________
Version 4.1.8
Reply With Quote
  #6  
Old 12-13-2006, 12:13 PM
 
AJ-UKRS AJ-UKRS is offline
 

Advanced Member
  
Join Date: Jan 2004
Posts: 92
 

Default Re: the label template

can anyone help me, i want to use address label sheets, 14 labels per sheet - label size 99.1mm x 38.1mm

please advise, this will speed up our order processing heavilly...
Attached Thumbnails
Click image for larger version

Name:	a4_1_b.jpg
Views:	123
Size:	7.0 KB
ID:	182  
Reply With Quote
  #7  
Old 12-20-2006, 08:43 AM
 
ryan c. ryan c. is offline
 

Advanced Member
  
Join Date: Sep 2002
Posts: 58
 

Default Re: the label template

How can I add the c ustomers phone number and email:

I tried:
{$customer.s_email}
{$customer._phone}

Thanks
__________________
Version 4.1.8
Reply With Quote
  #8  
Old 02-14-2009, 05:30 AM
  amy2203's Avatar 
amy2203 amy2203 is offline
 

X-Wizard
  
Join Date: Jul 2004
Location: Watford, UK
Posts: 1,509
 

Default Re: the label template

Quote:
can anyone help me, i want to use address label sheets, 14 labels per sheet - label size 99.1mm x 38.1mm

I'm trying to set this up. I've got it laying them out in 2 columns, and I've tried to set the sizes in the css in mm to be the right size, but they are too small.

My CSS is:

Code:
/* $Id: skin1.css,v 1.1.2.37 2008/08/07 06:35:10 ferz Exp $ */ /* General styles */ BODY,DIV,TH,TD,P,INPUT,SELECT,TEXTAREA,TT { FONT-FAMILY: Verdana, Arial, Helvetica, Sans-serif; COLOR: #2c3e49; FONT-SIZE: 11px; } H1 { FONT-SIZE: 14px; color: #a10000; } H2 { FONT-SIZE: 13px; } H3 { FONT-SIZE: 12px; color: #a10000; } HR { COLOR: #DDDDDD; HEIGHT: 1px; } HTML,BODY { HEIGHT: 100%; BACKGROUND-COLOR: #FFFFFF; MARGIN: 0px; PADDING: 0px; border: 1px green solid; } .labelcontainer { width: 210mm; height: 298mm; page-break-after: auto; margin: 0mm 6mm 17mm 6mm; border: 1px solid red; padding: 0px; } .labelholder { float: left; width: 99mm; height: 38mm; border: 1px solid blue; padding: 1mm; font-weight: bold; font-size: medium; } .labelholder .orderid { font-size: small; font-weight: normal; }

but the labels are only 32mm x 80mm when printed?
__________________
X-Cart version 5 (Previously 3.5-4)

Previous Versions included
BCSE Reward Points Mod
Altered Cart On Sale Mod
Wordpress Plugin

Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there.

Shout me a Coffee!
Reply With Quote
  #9  
Old 02-14-2009, 05:34 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: the label template

Ever thought of buying a Dymo printer?
http://www.xcartmods.co.uk/x-cart-dymo-order-label-printing-v4x-x-cart-mods-pr-26.html
__________________
xcartmods.co.uk
Reply With Quote
  #10  
Old 02-14-2009, 05:37 AM
  amy2203's Avatar 
amy2203 amy2203 is offline
 

X-Wizard
  
Join Date: Jul 2004
Location: Watford, UK
Posts: 1,509
 

Default Re: the label template

I've actually got 2 sitting in the back room, but it would still be easier to tick them and print all in one go rather than click - select - copy - switch - paste - print - switch using your mod.

Ideally they would print to the dymo directly with the firefox sdk but I've no idea how to make that work
__________________
X-Cart version 5 (Previously 3.5-4)

Previous Versions included
BCSE Reward Points Mod
Altered Cart On Sale Mod
Wordpress Plugin

Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there.

Shout me a Coffee!
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:35 AM.

   

 
X-Cart forums © 2001-2020