Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Bas Elbers

    (@baaaaas)

    Unfortunately this is not possible at the moment, but I will add it to my To Do’s list. In the next update it will be possible, I promise. ??

    Please leave me a 5-star rating. It would support future development a lot!

    Thread Starter lukascech

    (@lukascech)

    ok, thanks! rating done ??

    Hi Bas, great great work mate. Lukascech although there is no shortcode which you can use to show shipping method but with a little bit of improvisation you can show it easily on your PDF Invoice. I just coded it for a client and thought that i can share it here so anybody needing it can benefit from the same.

    <?php
    // Get the Shipping method and store it in a variable
    $shipping_method = $this->order->get_shipping_method();
    
    // Now Echo it the way you like.
    echo $shipping_method; // Simple Echo
    
    // A bit complex one
    printf( __( '%sSelected Shipping Method:%s%s', $this->textdomain ), '<b>', '</b>','<br/>' );
    echo $shipping_method;
    ?>

    Hope it is of any help. Take lots of care and Peace all. Cheers ??

    Thread Starter lukascech

    (@lukascech)

    Nice one Szeeshanali ?? just what I needed, thanks!

    Plugin Author Bas Elbers

    (@baaaaas)

    @szeeshanali thanks! Great job.
    @lukascech sorry, totally forgot it!

    @bas Elbers, Nothing to mention mate. My Pleasure ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Display shipping method on invoice?’ is closed to new replies.