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

PhilJ 02-14-2009 05:58 AM

Re: the label template
 
With the Dymo mod installed it should take 2 clicks, one to copy the addresses and one to 'Smart Paste' into the Dymo software.

cotc2001 02-15-2009 10:19 AM

Re: the label template
 
Quote:

Originally Posted by amy2203
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

Amy I use the mod (well actually I did my own mod but then swapped to Phil j's as it auto highlighted the labels and I just do a select all on the orders, click labels for selected button copy all and then use smart paste in the dymo label software and it prints it out in a roll in the same order that the invoices are printed out in.

So whilst the labels are printing im also printing out the invoices at the same time.

Couldn't be quicker or easier.

chiactivate 04-16-2009 10:40 PM

Re: the label template
 
Does anyone know how to put the company and customer notes in this

/skin1/main/order_label_print.tpl?

SamsonWebDesign 07-24-2009 08:48 AM

Re: the label template
 
Quote:

Originally Posted by chiactivate
Does anyone know how to put the company and customer notes in this

/skin1/main/order_label_print.tpl?


I also need to put some extra data in there.
I have set up an extra field in the additional fields section for the customer profile. The field is attached to the shipping address and it is the only additional field in there.

How would I display this field in the /skin1/main/order_label_print.tpl?


All times are GMT -8. The time now is 02:09 AM.

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