• Resolved rokasgl

    (@rokasgl)


    Hi.

    We want to make some changes to Customer PDF. Is it possible to do live preview after changes ? Or creating test order and getting new formulated PDF is the only option to check the new design ?

    Rokas.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author e4jvikwp

    (@e4jvikwp)

    Hi Rokas,

    Unfortunately a live preview for the PDF changes is not available at the moment, I’m sorry. The preview is available for the customer email template, but not for the PDF documents as this generation takes up more resources due to the HTML-to-PDF converter class in PHP.

    The HTML DOM parser is not a browser, that’s a conversion of HTML markup and CSS rules to PDF instructions, and so building the final PDF file takes up a bit more resources than building a simple HTML content for the email messages.

    Our suggestion is to keep a test rental order confirmed in your wp-admin section, and after making changes to the template file, you can choose to re-send the confirmation email and PDF to the client (which should be an administrator or you) from the back-end details page of the rental order. This way you can click the PDF document link on the same page to refresh it and see the changes. This is because browsers may apply cache on PDF files.

    We hope this helps!

    The VikWP Team

    Thread Starter rokasgl

    (@rokasgl)

    Thanks for the answer. Is it possible to add something to Customer PDF footer where pages counter is ?

    Plugin Author e4jvikwp

    (@e4jvikwp)

    Hi,

    Unfortunately, the footer can only be enabled or disabled by passing the proper value (0 or 1) to the parameter “show_footer” in the top PHP settings of the file template. It is not possible to define a custom content for the footer, which will take by default the page number and the company name as value.

    You could only customize the data (content) for the header, which is turned off by default.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Customer PDF’ is closed to new replies.