WP Manifestindependent plugin directory
manifest / ecommerce / cats-invoice-generator

Cats Invoice Generator

Generates PDF invoices from WooCommerce orders and attaches them to order emails.

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/davidvidovic-web/cats-invoice-generator/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

A WordPress plugin that automatically generates PDF invoices from WooCommerce orders and attaches them to order confirmation emails.

Requirements

  • WordPress 6.0+
  • PHP 8.0+
  • WooCommerce 7.0+
  • Composer

Installation

  1. Clone or copy the cats-invoice-generator folder into wp-content/plugins/.
  2. Install PHP dependencies:
    composer install --no-dev --optimize-autoloader
  3. Activate the plugin in WordPress Admin > Plugins.

Development

Install all dependencies (including dev):

composer install

The tmp/ directory is used at runtime to store generated PDF files before they are attached to emails. This folder is excluded from version control but must exist and be writable on the server.

Structure

cats-invoice-generator/
├── assets/          # CSS and JS assets
├── includes/        # Core PHP classes
├── templates/       # Invoice HTML/PDF templates
├── tmp/             # Runtime-generated PDFs (git-ignored)
├── vendor/          # Composer dependencies (git-ignored)
├── composer.json    # Composer configuration
└── cats-invoice-generator.php  # Plugin entry point

License

GPL-2.0-or-later