X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   the label template (https://forum.x-cart.com/showthread.php?t=20708)

cotc2001 03-24-2006 01:54 PM

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

TelaFirma 03-24-2006 01:56 PM

/skin1/main/order_label_print.tpl ???

cotc2001 03-24-2006 02:11 PM

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


TelaFirma 03-24-2006 02:14 PM

Code:

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


Or

Code:

{if $customer.s_address_2 ne ""}{$customer.s_address_2}{/if}

ryan c. 12-12-2006 11:23 AM

Re: the label template
 
neither worked for me . . .

AJ-UKRS 12-13-2006 12:13 PM

Re: the label template
 
1 Attachment(s)
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...

ryan c. 12-20-2006 08:43 AM

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

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

Thanks

amy2203 02-14-2009 05:30 AM

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?

PhilJ 02-14-2009 05:34 AM

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

amy2203 02-14-2009 05:37 AM

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


All times are GMT -8. The time now is 05:06 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.