Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Help with PHP echo Shipping Method

    I'm trying to make my printed invoices display the chosen shipping method just below the shipping address. Really pulling my hair out with this one.

    Can anyone please, please tell me what is the PHP code for "echo shipping method"?

    I've been trying for hours and can't get it working at all.

  2. #2
    Join Date
    Oct 2007
    Posts
    143
    Plugin Contributions
    0

    Default Re: Help with PHP echo Shipping Method

    try:

    PHP Code:
    <?php echo $order->info['shipping_method'] ; ?>
    however.. this displays the full shipping method info (method, eta, etc). i'm sure you could play around further to trim that value to suit your needs.

  3. #3
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Help with PHP echo Shipping Method

    Thanks, that worked almost perfectly :-) Thank you.

 

 

Similar Threads

  1. Replies: 2
    Last Post: 21 Aug 2014, 04:24 PM
  2. Replies: 2
    Last Post: 22 Apr 2013, 08:56 AM
  3. Disable shipping method by weight. zones.php
    By Nugar in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 21 Jun 2011, 04:45 AM
  4. Help with Echo
    By guedojas in forum General Questions
    Replies: 0
    Last Post: 18 Dec 2007, 05:45 AM
  5. Help with finding out what shipping method a customer used...
    By ajcannon in forum General Questions
    Replies: 9
    Last Post: 12 Oct 2006, 03:29 AM

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