- Fixed a bug where GraphQL queries for digital products would fail.
- Fixed a bug where product fields content was not prepared for Craft 5.
- Digital Products now requires Craft Commerce 5.0.0-beta.1 or later.
- Fixed an XSS vulnerability.
- Fixed a PHP error that occurred when live previewing a digital product. (#84)
- Fixed a bug where digital product Licenses couldn’t be edited or deleted in Craft 4.3.2+.
- Fixed a bug where garbage collection wasn’t running.
- Product type field layouts now support UI elements. (#60)
- Fixed a PHP error that occurred when uninstalling the plugin. (#80)
- Fixed a bug where digital products couldn’t be edited or deleted in Craft 4.3.2+. (#79)
- Fixed a PHP error that occurred when creating a new site.
- Added the
resave/digital-products
command.
- Fixed a PHP error that occurred when trying to manage permissions.
- Added Craft CMS 4 and Craft Commerce 4 compatibility.
- Fixed a bug where the
afterSave
event was not being triggered for license elements.
- Fixed a PHP error that occurred when saving a product with a duplicate SKU. (#61)
- Fixed errors that could occur when switching the selected site from the Digital Products index page and Edit Digital Product pages. (#54)
- Fixed a bug where it wasn’t possible to hard-delete digital products. (#56)
- Fixed a bug where the “Product Types” nav item was shown for users that didn’t have permission to manage product types. (#53)
- Products’ and licenses’ date sort options are now sorted in descending order by default when selected (requires Craft 3.5.9 or later).
- Fixed a 400 error that could occur when a product type’s Template setting was blank.
- Fixed plugin description that implied compatibility only with Craft Commerce 2.
- Fixed a PHP error that could occur when saving a new product without a price. (#58)
- Fixed a deprecation warning in
craft\digitalproducts\controllers\ProductsController
.
- Fixed a javascript error that caused the “Add Products” button to be hidden. (#49)
- Fixed a bug where the
afterSaveProductType
andbeforeSaveProductType
events triggered the wrong event object. (#48)
- Added GraphQL support for digital products. (#46)
- It’s now possible to update statuses and delete products form the Products index page. (#34)
- Added
craft\digital-products\elements\Products::getGqlTypeName()
. - Added
craft\digital-products\elements\Products::gqlScopesByContext()
. - Added
craft\digital-products\elements\Products::gqlTypeNameByContext()
. - Added
craft\digital-products\gql\arguments\elements\Product
. - Added
craft\digital-products\gql\interfaces\elements\Product
. - Added
craft\digital-products\gql\queries\Product
. - Added
craft\digital-products\gql\resolvers\elements\Product
. - Added
craft\digital-products\gql\types\elements\Product
. - Added
craft\digital-products\gql\types\gemerators\ProductType
. - Added
craft\digital-products\helpers\Gql
. - Added
craft\digital-products\Plugin::defineActions()
. - Added
craft\digital-products\services\ProductTypes::getProductTypeByUid()
.
- Fixed deprecation warnings on Edit Product page and Product Types index. (#44)
- Update Craft Commerce requirements to allow for Craft Commerce 3.
- Fixed an error where it was impossible to list existing digital products. (#42)
- Fixed a bug where product permissions were not being checked correctly. (#42)
- Digital products are now ignored by the shipping engine.
- Fixed an error that occurred when deleting a disabled product. (#41)
- Fixed Live Preview and sharing support.
- Added the
cp.digital-products.product.edit.details
template hook.
- 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