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

Printing shipping labels in HIGHERCASE

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-10-2006, 01:32 PM
 
leehudson leehudson is offline
 

Member
  
Join Date: Jun 2003
Posts: 13
 

Default Printing shipping labels in HIGHERCASE

Hi,

I have customers who enter their name, address and zip code details in lowercase.

I'm using the Dymo label writer 310 and copying and pasting the names & addresses from X-Cart's labels page to the Dymo software but I have to manually change the first character of each address line to highercase before printing the label.

Can anyone tell me how to modify the order_label_print.tpl to force all details to be displayed in highercase?

I tried the following in order_label_print.tpl but it didn't work...

{* $Id: order_label_print.tpl,v 1.4.2.1 2005/05/04 05:56:15 max Exp $ *}
{$order.tracking}
{$customer.s_firstname|default:$customer.firstname } {$customer.s_lastname|default:$customer.lastname}
<td style="text-transform: uppercase;">{$customer.s_address}</TD>
<td style="text-transform: uppercase;">{$customer.s_address_2}</TD>
<td style="text-transform: uppercase;">{$customer.s_city} </TD>
{$customer.s_state_text}
<td style="text-transform: uppercase;">{$customer.s_zipcode}</TD>
{$customer.s_country_text}

Thanks for any help you can give.

Lee.
__________________
_____________________________________
x-cart gold
version: 4.7.6
Reply With Quote
  #2  
Old 10-10-2006, 01:36 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Printing shipping labels in HIGHERCASE

Try adding |upper to your language variables, for example:

{$customer.s_address|upper}
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 10-10-2006, 01:46 PM
 
leehudson leehudson is offline
 

Member
  
Join Date: Jun 2003
Posts: 13
 

Default Re: Printing shipping labels in HIGHERCASE

Thanks for the quick reply balinor that did the trick

Thank you very much
__________________
_____________________________________
x-cart gold
version: 4.7.6
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 02:54 AM.

   

 
X-Cart forums © 2001-2020