Update Your HTML Inventory Templates for PDF Generator Upgrade

Update Your HTML Inventory Templates for PDF Generator Upgrade

Info Starting March 2026, an optimized PDF generator will be available in your CRM organization. This requires you to update the existing inventory templates' HTML tags. Hence, to avoid breakages or misalignment in the generated PDF and ensure compatibility with the optimized PDF generator, complete this update by February 28, 2026.
All you need to do is review and update the header, footer, and page number tags in the HTML of inventory templates.

The example provided illustrates the use of header tags. You can apply the same approach to other tags using the detailed guidance that follows.

To update your HTML tags for all your inventory templates that were created using HTML, follow the alignment steps below.
  1. Navigate to Setup → Customization → Templates → Inventory.
  2. Click the edit icon of the template created with HTML.
  3. Click on the Edit HTML icon.
  4. Edit your HTML code for header, footer, and page break tags as given in the table below.
Elements
Unsupported tags
Supported tags
General
Template content inside <table>...</table>
  1. In the enhanced PDF engine, headers, footers, and body content are each defined as distinct HTML fragments. 
  2. All HTML content should have zero padding and margin in CSS for effective PDF generation.
<style>
html {
margin: 0px;
padding: 0px;
}Header
</style>
Header
Content enclosed within <thead>...</thead> inside table body.
Content should be enclosed within

<section id="header-container"class="">
<div id="pdfgen-header">
...
</div>
</section>

CSS required for header content should be provided as follows:

<style>
#pdfgen-header {
}
</style>
Footer
Content enclosed within <tfoot>...</tfoot> inside table body.
Content should be enclosed within

<section id="footer-container"class="">
<div id="pdfgen-footer">
...
</div>
</section>

CSS required for header content should be provided as follows:

<style>
#pdfgen-footer {
}
</style>
Page number
Content enclosed within

<span
class="pagenum">..</span>
<style>
*.pagenum:after {
counter-increment: page;
content: "" counter(page);
}
</style>
Content should be enclosed within

<span class="pageNumber">..</span>

To get total page number count use

<span class="totalPage">...</span>

Once you've updated the tags, save your template and generate a PDF of it to check the alignment.

      Create. Review. Publish.

      Write, edit, collaborate on, and publish documents to different content management platforms.

      Get Started Now


        Access your files securely from anywhere

          Zoho CRM Training Programs

          Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

          Zoho CRM Training
            Redefine the way you work
            with Zoho Workplace

              Zoho DataPrep Personalized Demo

              If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

              Zoho CRM Training

                Create, share, and deliver

                beautiful slides from anywhere.

                Get Started Now


                  Zoho Sign now offers specialized one-on-one training for both administrators and developers.

                  BOOK A SESSION







                              Quick LinksWorkflow AutomationData Collection
                              Web FormsEnterpriseOnline Data Collection Tool
                              Embeddable FormsBankingBegin Data Collection
                              Interactive FormsWorkplaceData Collection App
                              CRM FormsCustomer ServiceAccessible Forms
                              Digital FormsMarketingForms for Small Business
                              HTML FormsEducationForms for Enterprise
                              Contact FormsE-commerceForms for any business
                              Lead Generation FormsHealthcareForms for Startups
                              Wordpress FormsCustomer onboardingForms for Small Business
                              No Code FormsConstructionRSVP tool for holidays
                              Free FormsTravelFeatures for Order Forms
                              Prefill FormsNon-Profit

                              Intake FormsLegal
                              Mobile App
                              Form DesignerHR
                              Mobile Forms
                              Card FormsFoodOffline Forms
                              Assign FormsPhotographyMobile Forms Features
                              Translate FormsReal EstateKiosk in Mobile Forms
                              Electronic Forms
                              Drag & drop form builder

                              Notification Emails for FormsAlternativesSecurity & Compliance
                              Holiday FormsGoogle Forms alternative GDPR
                              Form to PDFJotform alternativeHIPAA Forms
                              Email FormsFormstack alternativeEncrypted Forms

                              Wufoo alternativeSecure Forms

                              TypeformWCAG


                                          Create. Review. Publish.

                                          Write, edit, collaborate on, and publish documents to different content management platforms.

                                          Get Started Now




                                                            You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                                                Manage your brands on social media


                                                                  • Desk Community Learning Series


                                                                  • Digest


                                                                  • Functions


                                                                  • Meetups


                                                                  • Kbase


                                                                  • Resources


                                                                  • Glossary


                                                                  • Desk Marketplace


                                                                  • MVP Corner


                                                                  • Word of the Day


                                                                  • Ask the Experts


                                                                    Zoho Sheet Resources

                                                                     

                                                                        Zoho Forms Resources


                                                                          Secure your business
                                                                          communication with Zoho Mail


                                                                          Mail on the move with
                                                                          Zoho Mail mobile application

                                                                            Stay on top of your schedule
                                                                            at all times


                                                                            Carry your calendar with you
                                                                            Anytime, anywhere




                                                                                  Zoho Sign Resources

                                                                                    Sign, Paperless!

                                                                                    Sign and send business documents on the go!

                                                                                    Get Started Now




                                                                                            Zoho TeamInbox Resources





                                                                                                      Zoho DataPrep Demo

                                                                                                      Get a personalized demo or POC

                                                                                                      REGISTER NOW


                                                                                                        Design. Discuss. Deliver.

                                                                                                        Create visually engaging stories with Zoho Show.

                                                                                                        Get Started Now








                                                                                                                            • Related Articles

                                                                                                                            • Creating Inventory Templates

                                                                                                                              With the Zoho CRM - Inventory Templates functionality, you can customize the Quote, Purchase Order, Sales Order and Invoice print layout as per your business requirements. As part of the template customization, you can change the fields in the print ...
                                                                                                                            • Managing Mail Merge Templates

                                                                                                                              Mail merge is a function that helps you to simplify repetitive tasks to create personalized documents (forms, letters, address labels, envelopes, etc.). You can create a mail merge template which contains variables (merge fields), which will merge ...
                                                                                                                            • Understanding Inventory Template Builder

                                                                                                                              Components of Template Builder The template builder is made up of various components that can be dragged and dropped on to the template. Header and Footer Header and footer are available at the beginning and the end of the template. You can add them ...
                                                                                                                            • FAQs: Inventory Management

                                                                                                                              How can I create inventory templates? Zoho CRM has a gallery of predefined inventory templates, you can choose any sample and use it for your business purpose. Alternatively, you can build a template of your own and customize it as needed. Follow the ...
                                                                                                                            • FAQs: Email Templates

                                                                                                                              Can I include only the first name or last name in the email template? Yes, you can use only the first name or last name in the email template as per your requirement. Let's assume you want to send an email where only the First Name of the lead needs ...
                                                                                                                              Wherever you are is as good as
                                                                                                                              your workplace

                                                                                                                                Resources

                                                                                                                                Videos

                                                                                                                                Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                                                eBooks

                                                                                                                                Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                                                Webinars

                                                                                                                                Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                                                CRM Tips

                                                                                                                                Make the most of Zoho CRM with these useful tips.



                                                                                                                                  Zoho Show Resources