• Resolved alphax

    (@alphax)


    Hi guys,

    I understand there is an option to view the HTML of the template output. I ticked the box and saved, but what do I need to do next to view the HTML?

    If I send the invoice for my test order to my email address it’s still a PDF.

    I scanned the 3 settings pages and couldn’t find a link either.

    I need to inspect the HTML output for better CSS targeting.

    Could you please help me as soon as possible?

    Many thanks
    David

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    The HTML output option only affects the document you view in the browser, it does not attach HTML files to the emails (since this option is primarily for debugging and not for your customers). So simply clicking the PDF button in the backend will show the HTML version.

    Thread Starter alphax

    (@alphax)

    Thank you for your response!

    I must be blind. Could you please help me where I can find the PDF button?

    To clarify the background of my question:

    I use the official WooCommerce Product Add-on plugin, so users can choose add-ons to the standard WC products on the product page.

    If an add-on is purchased it is shown on the invoice. However, the font size if super small so I need to find out what class and add some CSS. The template only calls PHP code, so no chance there.

    So I’d need an actual invoice for an existing order (where an add-on was made) in HTML to inspect. Is that possible?

    Plugin Contributor Ewout

    (@pomegranate)

    The PDF button can be found in the “Actions” column in the WooCommerce order list (if not enabled, you can enable it on the top right on the “Screen options” pull-down panel), or in the order details itself in the right sidebar (in the “Create PDF” panel).

    Thread Starter alphax

    (@alphax)

    I found it now at the very bottom on the right hand side within the order page!

    Thank you!

    Great support & plugin.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to view HTML output?’ is closed to new replies.