Viewing 1 replies (of 1 total)
  • Plugin Contributor Yordan Soares

    (@yordansoares)

    Hi @samuelmarcinko,

    Try the following code snippet:

    /**
    * PDF Invoices & Packing Slips for WooCommerce:
    * Displays a "Paid" stamp after the customer notes
    */
    add_action( 'wpo_wcpdf_after_customer_notes', function( $document_type, $order ) {
    $stamp_url = "https://i.ibb.co/fdYKYX74/Paid-stamp.jpg";
    echo '<img style="width:5cm" src="' . $stamp_url . '">';
    }, 10, 2 );

    If you haven’t worked with code snippets (actions/filters) or functions.php before, read this guide: How to use code snippets.

    We also have a blog post here that you may find helpful about adding custom code to your site.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.