Releases: craftcms/commerce
Releases · craftcms/commerce
5.0.12.1
- Fixed a SQL error that occurred when updating.
5.0.12
- Variant index tables can now have a “Promotable” column. (#3571)
- Added
craft\commerce\base\Purchasable::availableShippingCategories()
. - Added
craft\commerce\base\Purchasable::availableTaxCategories()
. - Added
craft\commerce\base\Purchasable::shippingCategoryFieldHtml()
. - Added
craft\commerce\base\Purchasable::taxCategoryFieldHtml()
. - Added
craft\commerce\elements\Variant::availableShippingCategories()
. - Added
craft\commerce\elements\Variant::availableTaxCategories()
. - Added
craft\commerce\events\PdfRenderEvent::$sourcePdf
. (#3543) - Fixed a SQL error that occurred when reordering order statuses on PostgreSQL. (#3554)
- Fixed a SQL error that could occur when saving a payment currency. (3563)
- Fixed a bug where it was possible to select shipping and tax categories that weren’t allowed for the product type. (#3557)
- Fixed a bug where payment currencies, shipping categories, and tax categories weren’t deletable. (#3548)
- Fixed a bug where variant field layouts could render incorrectly. (#3570)
- Fixed a bug where address custom fields weren’t visible on Edit Inventory Location pages. (#3569)
- Fixed a SQL error that could occur when fixing foreign keys.
3.4.25
- Fixed a bug where Commerce was showing the incorrect version number
3.4.24
5.0.11.1
- Fixed a PHP error that could occur on app initialization.
4.6.3.1
5.0.11
- Added
craft\commerce\elements\Product::getDefaultPrice()
. - Added
craft\commerce\elements\Product::setDefaultPrice()
. - Fixed a bug where
craft\commerce\elements\Product::$defaultPrice
could return an incorrect value. - Fixed a bug where default variant attributes weren’t being saved on products.
- Fixed a bug where search wasn’t working on user indexes.
5.0.10.1
- Fixed a bug where duplicate Store location addresses were being created.
- Fixed a bug where a customers’ primary address selections weren’t being saved.
5.0.10
craft\elements\User::toArray()
now includesprimaryBillingAddressId
andprimaryShippingAddressId
values in response arrays.craft\elements\Address::toArray()
now includesisPrimaryBilling
andisPrimaryShipping
values in response arrays for user addresses.- Fixed a PHP error that could occur when saving a discount. (#3538)
- Fixed a bug where the “Edit” action could be incorrectly shown when managing inventory locations.
5.0.9
- Product Title fields are no longer shown when “Show the Title field” is disabled and there’s a validation error on the
title
attribute. (craftcms/cms#13876) - Fixed a PHP error that occurred when saving donation settings on multi-store installs. (#3521)