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

Quick Labels for Selected modification

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-08-2009, 03:33 PM
 
sparrowdog sparrowdog is offline
 

eXpert
  
Join Date: Jan 2007
Posts: 244
 

Default Quick Labels for Selected modification

I found the template that generates the text for the Quick Labels for Selected and have managed to re-arrange the text on this template.

What I need to do though is to have the phone number print as well.

{* $Id: order_label_print.tpl,v 1.5 2005/05/04 05:56:07 max Exp $ *}
{$order.tracking}
{$customer.s_firstname|default:$customer.firstname } {$customer.s_lastname|default:$customer.lastname}
{$customer.s_address}
{$customer.s_address_2}
{$customer.s_city} {$customer.s_zipcode}
{$customer.s_state_text}
{$customer.s_country_text}
{$customer.s_phone}


I added the last line, but it's wrong. This will not print the phone number. Does anyone know what the correct code is to get the phone number to print as well?
__________________
Version 4.1.6 to 4.1.11
Reply With Quote
  #2  
Old 01-09-2009, 12:57 AM
  Yurij's Avatar 
Yurij Yurij is offline
Banned
 

X-Adept
  
Join Date: Jan 2008
Posts: 486
 

Default Re: Quick Labels for Selected modification

Quote:
Originally Posted by sparrowdog
I found the template that generates the text for the Quick Labels for Selected and have managed to re-arrange the text on this template.

What I need to do though is to have the phone number print as well.

{* $Id: order_label_print.tpl,v 1.5 2005/05/04 05:56:07 max Exp $ *}
{$order.tracking}
{$customer.s_firstname|default:$customer.firstname } {$customer.s_lastname|default:$customer.lastname}
{$customer.s_address}
{$customer.s_address_2}
{$customer.s_city} {$customer.s_zipcode}
{$customer.s_state_text}
{$customer.s_country_text}
{$customer.s_phone}


I added the last line, but it's wrong. This will not print the phone number. Does anyone know what the correct code is to get the phone number to print as well?

Try use {$customer.phone}
Reply With Quote
  #3  
Old 01-09-2009, 01:09 AM
 
sparrowdog sparrowdog is offline
 

eXpert
  
Join Date: Jan 2007
Posts: 244
 

Default Re: Quick Labels for Selected modification

For those playing along later on, this does indeed work.

Thanks!
__________________
Version 4.1.6 to 4.1.11
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 11:19 AM.

   

 
X-Cart forums © 2001-2020