Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor 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

    Thread Starter drskullster

    (@drskullster)

    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 Contributor 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.