Changelog

4.0.13 2026-04-29

Changed

  • Only test line items which are not custom line items when searching for a Voucher purchasable.

4.0.12 2026-01-13

Changed

  • Update voucher handling for includeShipping = false to include non-inclusive tax.

Fixed

  • Fix an error when saving voucher types.

4.0.11 2025-11-29

Added

  • Add support for sorting Voucher Codes by “Original Amount”, “Current Amount”, “Expiry Date”, and “Date Updated”.
  • Add Description Format to Voucher Types to allow control over the line item description for a Voucher.

4.0.10 2025-11-06

Fixed

  • Fix PDF handling for Craft Cloud.

4.0.9 2025-07-18

Added

  • Add includeShipping plugin setting to include or exclude shipping costs for voucher redemption.
  • Add multisite menu to bulk-generate form also.
  • Add Voucher as CodeQuery Condition.
  • Add afterBulkGenerateCodesEvent event.

Changed

  • Update English translations.
  • Exclude shipping adjustments on line items when includeShipping is false.
  • Update voucher shipping handling to support line item shipping rates.

Fixed

  • Fix an error when downloading PDF vouchers.
  • Fix an error for shipping/tax categories.

4.0.8 2025-07-18

Added

  • Add includeShipping plugin setting to include or exclude shipping costs for voucher redemption.

Changed

  • Update English translations.
  • Update voucher shipping handling to support line item shipping rates.

Fixed

  • Fix an error when downloading PDF vouchers.
  • Fix an error for shipping/tax categories.

4.0.7 2025-05-02

Fixed

  • Fix an error when generating PDFs for vouchers with no orders.

4.0.6 2025-05-01

Changed

  • Update PDF URLs to use UIDs instead of IDs.

Fixed

  • Fix PDF handling for Craft Cloud.

4.0.5 2025-03-05

Changed

  • Improve redemption querying performance.

Fixed

  • Fix deleteRedemption return value.

4.0.4 2024-10-20

Fixed

  • Fix an error when creating custom line items.

4.0.3 2024-09-07

Changed

  • Change “Share” button to “View” for vouchers, for consistency with Craft/Commerce.

Fixed

  • Fix missing product variable when previewing a voucher.
  • Fix an error when duplicating a voucher.
  • Fix saving a code with a decimal value being cast to an int.

4.0.2 2024-07-21

Fixed

  • Fix an error when adding a custom-priced voucher to the cart.

4.0.1 2024-07-10

Added

  • Add support for orderSite for PDF URLs.

Changed

  • Update English translations.
  • Switch session handler to use Craft’s Session helper.

Fixed

  • Fix an error when saving a new site.
  • Fix session-handling to check for console requests.
  • Fix vouchers always being re-saved when updating a site or force-applying project config.

4.0.0 2024-05-27

Changed

  • Now requires PHP 8.2.0+.
  • Now requires Craft 5.0.0+.
  • Now requires Craft Commerce 5.0.0+.