diff --git a/CHANGELOG.md b/CHANGELOG.md index 30ddffaa81..8e8d3946d4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ - Added `craft\commerce\elements\Variant::availableShippingCategories()`. - Added `craft\commerce\elements\Variant::availableTaxCategories()`. - Added `craft\commerce\events\PdfRenderEvent::$sourcePdf`. ([#3543](https://github.com/craftcms/commerce/issues/3543)) +- It’s now possible to show the "Promotable" property on varaint element indexes. ([#3571](https://github.com/craftcms/commerce/issues/3571)) - Fixed a SQL error that occurred when reordering order statuses on PostgreSQL. ([#3554](https://github.com/craftcms/commerce/issues/3554)) - Fixed a SQL error that could occur when saving a payment currency. ([3563](https://github.com/craftcms/commerce/issues/3563)) - Fixed a bug where it was possible to select shipping and tax categories not associated to the current product type. ([#3557](https://github.com/craftcms/commerce/issues/3557)) diff --git a/src/elements/Variant.php b/src/elements/Variant.php index 2164addf0a..e36aaa0f1f 100755 --- a/src/elements/Variant.php +++ b/src/elements/Variant.php @@ -1168,6 +1168,7 @@ protected static function defineTableAttributes(): array return array_merge(parent::defineTableAttributes(), [ 'product' => Craft::t('commerce', 'Product'), 'isDefault' => Craft::t('commerce', 'Default'), + 'promotable' => Craft::t('commerce', 'Promotable'), ]); }