Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2004
    Posts
    24
    Plugin Contributions
    0

    Default Packing Slip (help please)?

    Hi,

    I use a 3 part packing slip and have managed to change it to match the paper parts when printed apart from one thing.

    What i need on one bit is to only display the delivery house number and postcode (EG: 18 - PE33 0TL), however all i seem to get is the whole delivery address.

    Anyone know the code i am to use to just show house number and postcode, or the first line of address and postcode, please?



    MODS: I posted in the wrong forum, please delete the other thread, thanks.
    Kind Regards,
    Coffee23.

  2. #2
    Join Date
    Jan 2004
    Posts
    24
    Plugin Contributions
    0

    Default Re: Packing Slip (help please)?

    Hi,

    Does nobody know the function to call the postcode? please......

    So far i have
    Code:
    <?php echo ENTRY_POST_CODE; ?>
    and that displays Post Code: but i cant work out what the call is to get the postcode to display (EG: $oID will display that Order Number, what's the $???? to display the postcode)?
    Kind Regards,
    Coffee23.

  3. #3
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Packing Slip (help please)?

    Quote Originally Posted by coffee23 View Post
    what's the $???? to display the postcode)?
    This depend a lot on what page/file you need to display this data on.

    If you temporarily insert the following piece of code into the page/file of interest

    var_dump(get_defined_vars()); exit ;

    It should show you what variables are available to you (along with their names).

    Cheers
    Rod

  4. #4
    Join Date
    Jan 2004
    Posts
    24
    Plugin Contributions
    0

    Default Re: Packing Slip (help please)?

    Hi Rod,

    Thanks for the reply.

    I tried that code but tbh could not make any sence of the result, lol. although i did notice that some of the code/functions i have been trying where there, even though they did not work.

    What i am trying to do it display only the postcode on the packing slip (as its 3 parts, 1 is our return address, the other is the delivery address, the 3rd i want to display the order id (done that) and the delivery postcode (what i am stuck on).

    The file im working on is packingslip.php (admin/packingslip.php).
    Kind Regards,
    Coffee23.

  5. #5
    Join Date
    Jan 2004
    Posts
    24
    Plugin Contributions
    0

    Default Re: Packing Slip (help please)?

    "push". :)
    Kind Regards,
    Coffee23.

 

 

Similar Threads

  1. Replies: 0
    Last Post: 18 Sep 2013, 04:09 AM
  2. Adding Text to the packing Slip? need some help!
    By touchclothing in forum General Questions
    Replies: 1
    Last Post: 2 Jan 2008, 08:58 PM
  3. Packing Slip to Dropship Slip
    By PaintBall in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 28 Oct 2007, 12:10 AM
  4. Need urgent help on packing slip -
    By tom2u in forum General Questions
    Replies: 6
    Last Post: 19 Aug 2007, 12:22 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR