Releases: verbb/gift-voucher
Releases · verbb/gift-voucher
2.4.3
Fixed
- Fix
getEditableVoucherTypeIds
not returning correctly.
2.4.2.1
2.4.2
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
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
{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. Useinput type="text" name="options[fieldHandle]"
instead ofinput type="text" name="options[<fieldsPath>][fieldHandle]"
.
2.3.1
Fixed
- Fix potential error when trying to save a voucher code without an amount.
- Fix incorrect handling for code field layout.
2.3.0
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
Fixed
- Fix logging error
Call to undefined method setFileLogging()
.
2.2.3
Changed
- File logging now checks if the overall Craft app uses file logging.
- Log files now only include
GET
andPOST
additional variables.
Fixed
- Only allow editing of voucher types if editable.
2.2.2
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.