Skip to content

Releases: verbb/gift-voucher

2.4.2.1

29 Jul 22:05
Compare
Choose a tag to compare

Fixed

  • Fix ErrorException from undefined variable uid. (thanks @jmauzyk).

2.4.2

29 Jul 04:01
Compare
Choose a tag to compare

Fixed

  • Fix voucher site dropdown not working for multi-sites.
  • Fix share and preview button alignment for vouchers.
  • Fix live preview not working for vouchers.
  • Fix save-as-new-voucher not working correctly.
  • Fix voucher permissions to use UID instead of ID.

2.4.1

22 Jun 11:52
Compare
Choose a tag to compare

Fixed

  • Add migration for potentially missing code field layout.
  • Fix usage of deprecated saleAmount.
  • Return cart errors for ajax-applying of voucher codes.

2.4.0

17 Jun 23:32
Compare
Choose a tag to compare

{warning} Please note a breaking change in removing fieldsPath. If you use this setting to add custom field content to your voucher codes when adding to the cart, you will need to change this. Please see the docs - https://verbb.io/craft-plugins/gift-voucher/docs/template-guides/single-voucher#line-item-options

Changed

  • Removed fieldsPath config setting. If you are using this setting for adding custom field content to your voucher codes, please update your templates. Use input type="text" name="options[fieldHandle]" instead of input type="text" name="options[<fieldsPath>][fieldHandle]".

2.3.1

15 Jun 13:17
Compare
Choose a tag to compare

Fixed

  • Fix potential error when trying to save a voucher code without an amount.
  • Fix incorrect handling for code field layout.

2.3.0

10 May 03:53
Compare
Choose a tag to compare

Added

  • Add project config support for voucher types.

Fixed

  • Check to ensure Klaviyo Connect plugin is installed before doing any more checks. (thanks @brianjhanson)

2.2.4

16 Apr 01:06
Compare
Choose a tag to compare

Fixed

  • Fix logging error Call to undefined method setFileLogging().

2.2.3

15 Apr 00:28
Compare
Choose a tag to compare

Changed

  • File logging now checks if the overall Craft app uses file logging.
  • Log files now only include GET and POST additional variables.

Fixed

  • Only allow editing of voucher types if editable.

2.2.2

16 Mar 04:39
Compare
Choose a tag to compare

Fixed

  • Fix order and voucher columns showing incorrect values in the voucher codes element index.
  • Add “Original Amount” to voucher codes element index.
  • Fix currency symbol in voucher codes element index in some cases.

2.2.1

13 Feb 03:27
Compare
Choose a tag to compare

Fixed

  • Fix missing order properties for PDFs generated in CP. (thanks @jmauzyk).
  • Fix populateLineItem to work with Commerce 3.x.