- New: The invoice template can now be overridden. If you want to customize the template, create a folder called
edd_templates
inside of your active theme’s directory. Then copy the template(s) you want to override fromedd-invoices/templates/
into your theme’s directory. - New: Various hooks have been added to the invoice template, which will allow you to add custom code without overriding the entire template.
- New: Added an “Additional Text” setting, which allows site admins to add text that will appear on each invoice.
- New: A “Generate Invoice” link is now available on the purchase confirmation page.
- New: A “Print” button has been added to invoices.
- Improvement: The invoice HTML and CSS has been refactored and modernized. Appearance-wise it still looks very much the same; we’ve just refactored the code.
- Improvement: The “Paid” image has been replaced with plain text and CSS so it can be translated. It’s also been moved to the invoice header.
- Improvement: The purchase date has been moved to the invoice header.
- Improvement: Tax IDs have been moved up to be right under the billing addresses.
- Improvement: The order “Subtotal” is now included.
- Improvement: Variable priced option names are now displayed for applicable invoice items.
- Fix: Invoice date format not using WordPress date format settings.
- Fix: Invoice page not created on initial activation.
- Fix: Undefined index error if user generating the invoice doesn’t have a country set.
- Dev: Introduced a new function
edd_invoices_get_invoice_url()
. - Dev: The invoice template has been updated to follow WPCS.
- Dev: Added support for EDD 3.0.