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!
Zen Follower
I have a need to get the phone number on the shipping label.
Can someone tell me how to do that?
Thanks a million!
Totally Zenned
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.
Zen Follower
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..
Zen Follower
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>Totally Zenned
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.
Zen Follower
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!
Zen Follower
Nevermind! During checkout there is only one space for telephone. For some reason I was thinking there was two. There's a module.
Totally Zenned
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
Tell staff why this post should be reviewed.