• Resolved Bill T.

    (@btozo)


    Hi All!

    We are using The Events Calendar by modern tribe and Woocommerce of course.

    Is it possible to include a list of event attendees on the invoices as well? If so, what fields are available to be placed in some sort of a table format on the invoice?

    Thanks so much!

    Bill

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey Bill,

    It is possible to add your custom metadata to your invoices, using the get_meta() function.

    		
    public function get_meta( $order, $meta_key ) {
    			return get_post_meta( BEWPI_WC_Order_Compatibility::get_id( $order ), $meta_key, true );
    		}
    

    You can find the documentation for get_post_meta over here.

    This is an example of a get_meta() call we perform in our invoice already:

    WPI()->get_meta( $invoice->order, '_vat_number_is_valid' )

    Thread Starter Bill T.

    (@btozo)

    Thank you Maxim.

    This is beyond my scope, but it’s good to know that it’s possible. I’ll start my search for a developer to do this for me and when I find one, I’ll refer them to the imformation you provided.

    Bill

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘The Events Calendar’ is closed to new replies.