Forums / Templates, Stylesheets, Page Layout / Phone number on shipping label help

Phone number on shipping label help

Started by linnx on 28 Apr 2011, 1:54 AM · Views: 1,355

Results 1 to 8 of 8
28 Apr 2011, 1:54 AM
#1
linnx avatar

linnx

Zen Follower

Join Date:
Jun 2009
Posts:
187
Plugin Contributions:
0

Phone number on shipping label help

I have a need to get the phone number on the shipping label.

Can someone tell me how to do that?

Thanks a million!

28 Apr 2011, 3:34 AM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,188
Plugin Contributions:
0

Re: Phone number on shipping label help

Explain to me more in detail about this shipping label...
It is not a function of the core of zen cart..
You can print a packing slip and invoice...
Have you downloaded a module???

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

28 Apr 2011, 5:00 AM
#3
linnx avatar

linnx

Zen Follower

Join Date:
Jun 2009
Posts:
187
Plugin Contributions:
0

Re: Phone number on shipping label help

I did get it to show up on the shipping label. I edited super_shipping label file from super orders..

found this

<TD class="pageHeading"><?php echo zen_address_format($order->delivery['format_id'], $order->delivery, 1, '', '<br>'); ?></TD>

Then I added

<?php echo $order->customer['telephone']; ?>

I just have to get it formatted properly..

28 Apr 2011, 5:19 AM
#4
linnx avatar

linnx

Zen Follower

Join Date:
Jun 2009
Posts:
187
Plugin Contributions:
0

Re: Phone number on shipping label help

Here is the solution for anyone needing to have the phone number on the shipping label for super order. Just edit super_shipping_label.php

<!-- body_text //--> <p> <TABLE border="0" width="100%" cellspacing="4" cellpadding="4"> <TR> <TD> <TABLE border="0" width="100%" cellspacing="4" cellpadding="4"> <TR> <TD class="main"><?php echo nl2br(STORE_NAME_ADDRESS); ?></TD> </TR> </TABLE> <TABLE border="0" width="100%" cellspacing="2" cellpadding="2"> <TR> <TD valign="top"> <TABLE width="100%" border="0" cellspacing="2" cellpadding="2"> <TR> <td width="20%"><?php echo $oID; ?></td> <TD class="pageHeading"><?php echo zen_address_format($order->delivery['format_id'], $order->delivery, 1, '', '<br>'); ?></TD> </TR> <TR><td> </td><td class="pageHeading"><?php echo $order->customer['telephone']; ?></td> </TR> </TABLE> </TD> <? php ?> </TR> </TABLE> </TD> </TR> </TABLE>
28 Apr 2011, 12:24 PM
#5
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,188
Plugin Contributions:
0

Re: Phone number on shipping label help

Thanks for posting back the solution.. Glad all is well...

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

9 Jun 2011, 1:43 AM
#6
linnx avatar

linnx

Zen Follower

Join Date:
Jun 2009
Posts:
187
Plugin Contributions:
0

Re: Phone number on shipping label help

Another quick question regarding this.

This is going to be used for drop shipping purposes, so we want the telephone number that is displayed to be the Ship to telephone number, and not the bill to.

Currently this ">customer['telephone']"
is the billing telephone number.

Is there a way to change that to print the shipping telephone number?

Thanks!

9 Jun 2011, 2:14 AM
#7
linnx avatar

linnx

Zen Follower

Join Date:
Jun 2009
Posts:
187
Plugin Contributions:
0

Re: Phone number on shipping label help

Nevermind! During checkout there is only one space for telephone. For some reason I was thinking there was two. There's a module.

9 Jun 2011, 3:00 AM
#8
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,890
Plugin Contributions:
20

Re: Phone number on shipping label help

Glad you got it going.:clap:

For future reference and those lurking, you would be better served by going to the thread for the particular mod you have questions for -- in this case http://www.zen-cart.com/forum/showthread.php?t=170525&highlight=super+orders.

If the answers for the posting tips are not given, we may not have a clue that a mod-fix is needed. Folks in a thread made for the mod may have already answered the question or can quickly point you in the right direction.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com