Affiliate name shows up on pdf invoice

Posted in

Hi, I am trying to get the affiliate’s name to show up on the pdf invoice, to ease packing orders. I am using woocommerce and woocommerce pdf invoices. I asked for help earlier on this same topic. You gave me a shortcode to use in an e-mailed invoice. I tried adding the code to the pdf template, but it didn’t work. I also couldn’t reply to that thread.
Sorry that I am not more knowledgeable in this area.

Here is the template that I am trying to edit to include the referring affiliate’s name on the invoice.

type, $this->order ); ?>

has_header_logo() ) {
$this->header_logo();
} else {
echo $this->get_title();
}
?>

shop_name(); ?>
shop_address(); ?>

has_header_logo() ) echo $this->get_title(); ?>

type, $this->order ); ?>

<!– –>
billing_address(); ?>
settings[’display_email’]) ) { ?>
billing_email(); ?>

settings[’display_phone’]) ) { ?>
billing_phone(); ?>

settings[’display_shipping_address’]) && $this->ships_to_different_address()) { ?>

shipping_address(); ?>

type, $this->order ); ?>
settings[’display_number’]) ) { ?>

invoice_number(); ?>

settings[’display_date’]) ) { ?>

invoice_date(); ?>

order_number(); ?>

order_date(); ?>

payment_method(); ?>

type, $this->order ); ?>

type, $this->order ); ?>

get_order_items(); if( sizeof( $items ) > 0 ) : foreach( $items as $item_id => $item ) : ?>
<tr class=”type, $this->order, $item_id ); ?>”>

type, $item, $this->order ); ?>

type, $item, $this->order ); ?>

type, $this->order ); ?>
get_shipping_notes() ) : ?>

shipping_notes(); ?>

type, $this->order ); ?>

get_woocommerce_totals() as $key => $total ) : ?>
<tr class=””>

type, $this->order ); ?>

get_footer() ): ?>

footer(); ?>

type, $this->order ); ?>

Thank you so much for all your help!
Jodie

4 Responses to Affiliate name shows up on pdf invoice

  1. George April 20, 2018 at 7:21 am #

    I will mark the topic as resolved but if you need further assistance regarding my addon for Woocommerce PDF Invoices & Packing Slips, or affiliates-stats-filters-order-details you can start a new topic.

    Cheers,
    George

  2. George April 10, 2018 at 12:49 pm #

    Thanks for the info!

    I will have a look and let you know.

    Cheers,
    George

  3. Jodie April 10, 2018 at 12:37 pm #

    Hi George,
    Thanks for getting back to me. I am using Woocommerce PDF Invoices & Packing Slips by Ewout Fernhout http://docs.wpovernight.com/woocommerce-pdf-invoices-packing-slips/

    Thank you!!

  4. George April 10, 2018 at 12:15 pm #

    Hi Jodie,

    The shortcodes I suggested are intended to be used with Affiliates notifications. These notifications are sent whenever a new referral is recorded, among others.
    Please confirm if you are referring to WooCommerce pdf invoices plugin so I get to have a closer look at it and make a suggestion.

    Kind regards,
    George

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account

Share