• Resolved jeff22150

    (@jeff22150)


    Hi.
    Sorry for my english, I’m french
    I’m using the free version of “WooCommerce PDF Invoice Builder” plugin.
    I try to add a link for downloading invoice in the thank you page.
    unfortunately, it doesn’t work for me…
    Is the shortcode reserved to the full version.
    Here is my snippet :

    add_action( 'woocommerce_thankyou_order_received_text', 'add_downloadable_invoice');
    		   
    function add_downloadable_invoice() {
        echo do_shortcode('[order_received_view_pdf id="1" message="Message"]');
    }

    result : in the thank you page, it’s written the shortcode ([order_received_view_pdf id=”1″ message=”Message”]) and not the link.

    I try with another shorcode and it’s working.

    Where I’m worng please ?

    Best regards
    Jeff

Viewing 1 replies (of 1 total)
  • Plugin Author EDGARROJAS

    (@edgarrojas)

    Hello!

    Sorry for the confusion, that shortcode is part of the full version only. I will update the documentation to reflect that. Sorry.

Viewing 1 replies (of 1 total)

The topic ‘shortcode order_received_view_pdf doesn’t work for me’ is closed to new replies.