Title: Contract Generate
Last modified: April 9, 2024

---

# Contract Generate

 *  Resolved [stelakoulas](https://wordpress.org/support/users/stelakoulas/)
 * (@stelakoulas)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/contract-generate/)
 * i am trying to create a file, being generated during reservation in which i would
   like to use some of the defaults fields and some custom ones.
   I want the file
   generated to include few things about the reservation (Driving license, name,
   dob, pickup dropoff date etc..). Is there a guide to that ? the documentation
   has very little info on how to do that, especially on how to use custom fields
   on the pdf files.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcontract-generate%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [e4jvikwp](https://wordpress.org/support/users/e4jvikwp/)
 * (@e4jvikwp)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/contract-generate/#post-17617383)
 * Thanks for your message. We understand what you’re looking for, and our documentation
   does not say much about the customization for the default PDF documents, especially
   because this is something pretty technical that requires to be familiar with 
   PHP coding.
 * Adding the generation of a new custom PDF document would require changes to be
   made on core files, and so this is strongly discouraged, especially because by
   installing any future update for our plugin all of your changes would go lost.
   Instead, if you are looking to customize the existing PDF document for the contract/
   agreement that gets automatically generated whenever a rental order gets confirmed(
   maybe after a successful payment), then you can use the apposite tool in the 
   Configuration page to edit the template file for the contract. Our suggestion
   in this case is to debug the content of the available variables, objects and 
   arrays directly in the source code of the template file.
 * We invite you to get in touch with our team through our websites should you have
   any technical questions.
 * Thank you,
   The VikWP Team
 *  Thread Starter [stelakoulas](https://wordpress.org/support/users/stelakoulas/)
 * (@stelakoulas)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/contract-generate/#post-17678753)
 * are you planning on adding such feature?
 *  Plugin Author [e4jvikwp](https://wordpress.org/support/users/e4jvikwp/)
 * (@e4jvikwp)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/contract-generate/#post-17679263)
 * Hello,
 * The PDF for the contract/agreement that gets generated upon the confirmation 
   of a rental order is fully customizable. Also, there are a few native hooks within
   VikRentCar that could be used to add attachments to the default confirmation 
   email message, and such hooks could be used even to generate an additional PDF
   document, if needed.
 * For these reasons, we probably don’t see the need of adding such feature in the
   future versions of the plugin, because customizing the existing PDF document,
   or attaching additional documents to the default confirmation email message, 
   should cover pretty much any kind of needs.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Contract Generate’ is closed to new replies.

 * ![](https://ps.w.org/vikrentcar/assets/icon-256x256.png?rev=2203504)
 * [VikRentCar Car Rental Management System](https://wordpress.org/plugins/vikrentcar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/vikrentcar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/vikrentcar/)
 * [Active Topics](https://wordpress.org/support/plugin/vikrentcar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/vikrentcar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/vikrentcar/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [e4jvikwp](https://wordpress.org/support/users/e4jvikwp/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/contract-generate/#post-17679263)
 * Status: resolved