=== woocommerce-download-template ===
Contributors: ogrecooper
Donate link: https://cleverogre.com/
Tags: supplemental, theme, cleverogre
Requires at least: 5.0
Tested up to: 6.2.2
Requires PHP: 8.0
Stable tag: 0.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Generate pdf downloads after product purchased based on Word & Excel document templates.

== Description ==

Generate pdf downloads after product purchased based on Word & Excel document templates with Unoconv, PhpOffice and LibreOffice. Compatible with Gravity Forms Product Add-ons.

Prerequisites:
* [Unoconv](https://github.com/dompdf/dompdf) & [PHP Unoconv](https://github.com/dompdf/dompdf) (Unoserver not currently supported) or [Dompdf](https://github.com/dompdf/dompdf)
* [LibreOffice Core](https://github.com/LibreOffice/core) (only required if using Unoconv)
* [PhpWord](https://github.com/PHPOffice/PHPWord) & [PhpSpreadsheet](https://github.com/PHPOffice/PhpSpreadsheet)

== Installation ==

1. Install prerequisites:
   * Install root user level packages (only required if using Unoconv)
     * `yum install libreoffice-core` (as root user)
     * `yum install unoconv`
   * Install composer packages within plugin directory (`wp-content/plugins/woocommerce-download-template`)
     * `composer require php-unoconv/php-unoconv` and/or `composer require dompdf/dompdf`
     * `composer require phpoffice/phpword`
     * `composer require phpoffice/phpspreadsheet`
2. Upload the plugin files to the `/wp-content/plugins/woocommerce-download-template` directory and ensure that it is active.
3. Create new certificate and assign template file from media library in "PhpWord Template Settings" meta box. Use template placeholders within template file as needed.

== Frequently Asked Questions ==

= What is this plugin? =

If you do know what plugin you have downloaded, please contact [CleverOgre](team@cleverogre.com) for more information. This plugin is only developed for a small, private audience.

== Changelog ==

= 0.1.0 - 2023-06-20 =
* Initial build of woocommerce-download-template plugin.
