WP SITES

3082 Coded Tutorials & 284 Plugins

PDF Invoices for WooCommerce

$75.00

A WooCommerce plugin that displays custom discount information in WooCommerce orders and PDF invoice buttons on your My Account page, and order emails. Includes a built-in PDF invoice generator with advanced features enabling downloading and emailing of invoices in 1 click for any order.

Features

Core Discount Display

  • Order Display: Shows discount information in order line items with strikethrough pricing
  • My Account Integration: Displays discounts on the My Account orders page
  • Email Support: Includes discount information in customer and admin order emails
  • PDF Invoice Support: Adds discount details to PDF invoices from third-party plugins
  • Admin Settings: Configurable settings page to control where discounts appear
  • Custom Field Support: Uses WordPress custom fields to store discount information

Built-in PDF Invoice Generator

  • Internal PDF Printer: Generate professional PDF invoices without third-party plugins
  • Multiple PDF Libraries: Supports both mPDF and DomPDF with automatic fallback
  • HTML Fallback: Graceful degradation to HTML when PDF libraries aren’t available
  • Strikethrough Pricing: Shows original price with strikethrough and sale price
  • Professional Layout: Clean, modern invoice design with proper formatting
  • Email Attachments: Automatically attach PDF invoices to WooCommerce order emails
  • My Account Integration: “Print PDF” links on My Account orders page
  • Admin Interface: Dedicated PDF invoice generator page for administrators
  • Secure Access: Nonce-protected PDF viewing with custom rewrite rules

Installation

  1. Activate the plugin through the ‘Plugins’ screen in WordPress
  2. Go to WooCommerce > Discount Display to configure settings

Configuration

Setting Up Discount Information

  1. Edit a product in WooCommerce
  2. Scroll down to the “Product Data” section
  3. Add a sale price or, use a custom field to add the discounted price
  4. Go to the “Advanced” tab
  5. Add a custom field with:
  • Meta Key: custom_field (or your custom name from settings)
  • Meta Value: $5

Admin Settings

Navigate to WooCommerce > Discount Display to configure:

Core Settings

  • Show Discount in Orders: Display discount information in order line items
  • Show in My Account: Display discounts on the My Account orders page
  • Show in Emails: Include discount information in order emails
  • Show in PDF Invoices: Include discount information in PDF invoices
  • Custom Field Name: The meta key name for the custom field containing discount information

PDF Invoice Settings

  • Show PDF Link in My Account: Add “Print PDF” link to My Account orders page
  • Attach PDF to Order Emails: Automatically attach PDF invoices to WooCommerce order emails

PDF Invoice Generator

Access the dedicated PDF generator at WooCommerce > PDF Invoices:

  • Generate PDF: Create PDF invoices for any order
  • Email PDF: Send PDF invoices directly to customers
  • Recent Orders: Quick access to recent orders with PDF generation
  • Library Status: View status of mPDF and DomPDF libraries

PDF Invoice Features

Invoice Layout

The built-in PDF invoice generator creates professional invoices with:

  • Header: Store information and invoice details
  • Billing Information: Customer and store details in side-by-side columns
  • Items Table: Product details with strikethrough pricing
  • Totals: Order totals and payment information
  • Footer: Additional store information

Pricing Display

  • Original Price: Shows with strikethrough (e.g., $10.00)
  • Sale Price: Shows current price (e.g., $5.00)
  • Unit Price Column: Displays both original and sale prices
  • Total Column: Shows only the final sale price

Screenshots

Shows the plugin settings for the discount display, order email options and PDF invoices.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Contact Us If You Have Any Questions

Go back

Your message has been sent

Warning
Warning
Warning
Warning.