- Fixed an error that could occur when updating to 2.2.0 and there were user groups with no defined permissions.
- Added support for the
project-config/rebuild
command.
- Digital Products now correctly typecasts the boolean and integer values saved to the project config.
- Digital Products now requires Craft 3.1.20 and Craft Commerce 2.1.0 or later.
- Fixed an error that could occur when saving a digital product if it didn’t have a boolean
promotable
value set. - Fixed a bug where edit product permissions were missing. (#33)
- Fixed an error that could prevent licenses from getting listed properly in the Control Panel.
- Added support for project config.
- Added the
generateLicenseOnOrderPaid
setting which allows to specify when the license should be created.
- Digital Products now requires Craft 3.1.0-alpha.1 or later.
- Digital Products now requires Commerce 2.0 or later.
- Fixed an error where adding or removing sites would not reflect those changes in product type settings.
- Fixed an error where a non-existing Commerce event was being referenced.
- Fixed a bug where it wasn't possible to delete a product from its edit page. (#24)
- Fixed deprecation errors in Control Panel templates. (#25)
- Fixed a bug where the "Digital Products" item on the Settings page linked to a blank page. (#23)
- Fixed a bug where querying for licenses would not work in some cases. (#11)
- Added
craft\digitalproducts\models\ProductTypeSite::getSite()
.
- Licenses are now generated after the order is paid, instead of when it’s completed. (#21)
- Fixed a bug where Digital Products fields were named “Products”. (#13)
- Fixed a bug where querying for products didn’t always return the correct results.
- Fixed a bug where only fields in the first field layout tab were visible when editing a product. (#8)
- Fixed a bug where products coludn’t hvae URLs. (#9)
- Fixed a bug where querying for licenses would not work in some cases. (#11)
- Fixed a bug where it wasn’t possible to delete a product. (#12)
- Fixed a bug where product template paths and URI formats weren’t being automatically generated correctly. (#16)
- Fixed deprecation errors. (#19)
- Fixed a bug where licenses were not being generated after completing an order.
- Fixed a bug where tax categories were not being populated when editing a product. (#3)
- Fixed broken links in
composer.json
. (#4) - Fixed an error that occurred on the Licenses index page. (#7)
- Fixed a bug where the “New product” button wasn’t working on the Products index page. (#6)
- Added Craft 3 compatibility.
- Digital products now fires
beforeSaveProductType
,afterSaveProductType
andbeforeGenerateLicenseKey
events. - Product types are now accessible via
$product->getProductType()
instead of$product->getType()
. - Instead of eager-loading a boolean flag
isLicensed
for products, you must now eager-load theexistingLicenses
property, which is an array of existing licenses for that product for the current user.
- Fixed a broken foreign key constraint. (#1)
- Fixed a bug where digital product prices weren’t displaying correctly.
- Fixed a bug where digital product prices could be saved incorrectly.
- Added support for a plugin release feed.
- Fixed bugs.
- Fixed bugs.
- Initial release