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)
-   -   Quick Labels for Selected modification (https://forum.x-cart.com/showthread.php?t=44695)

sparrowdog 01-08-2009 03:33 PM

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?

Yurij 01-09-2009 12:57 AM

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} :)

sparrowdog 01-09-2009 01:09 AM

Re: Quick Labels for Selected modification
 
For those playing along later on, this does indeed work.

Thanks!


All times are GMT -8. The time now is 02:12 PM.

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