• Resolved gato72

    (@gato72)


    Hi, I use wp-lister ebay and amazon and I would like a note to appear somewhere in the receipt specifying that the order was received by e-bay or amazon.
    It’s possible?
    Is there any solution?
    Thanks!

Viewing 1 replies (of 1 total)
  • Thread Starter gato72

    (@gato72)

    I solved it by simply adding the order notes as stated in the official documentation, adding this code in function.php.

    add_action( 'wpo_wcpdf_after_order_details', 'wpo_wcpdf_order_notes', 10, 2 );
    function wpo_wcpdf_order_notes ($template_type, $order) {
        $document = wcpdf_get_document( $template_type, $order );
        $document->order_notes();
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Invoice pdf and wp-lister’ is closed to new replies.