Support » Plugin: WooCommerce PDF Invoices & Packing Slips » Preview invoice template while working on it

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Ewout

    (@pomegranate)

    Hi Jonathan,
    In the plugin settings, you can choose to “Open the PDF in a new browser tab/window”. Then you can simply hit refresh every time you have made changes. Alternatively, you can temporarily output to HTML if you add the following lines to your functions.php:

    add_filter( 'wpo_wcpdf_output_html', '__return_true' );
    add_filter( 'wpo_wcpdf_use_path', '__return_false' );

    Ewout

    Your first option works perfectly.

    Thanks for the quick answer,
    Jonathan

    Very helpfull!

    Exactly, what I was looking for. This should be in the FAQ.

    (It’s almost impossible to customize a PDF invoice that is the result of html+css. It’s much easier to develop it using Firebug or Chrome Developer Toolbar based on the html+css)

    Plugin Author Ewout

    (@pomegranate)

    It’s in the ‘Read this first’, but I’ll add it to the FAQ too!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Preview invoice template while working on it’ is closed to new replies.