Releases: craftcms/commerce
Releases · craftcms/commerce
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)
5.0.8
- Fixed a bug where orders’
shippingMethodName
values could be cleared out when saving a completed order with a plugin-provided shipping method. (#3519) - Fixed a PHP error that could occur on app initialization.
- Fixed missing validation for Inventory Location handles. (#3511)
- Fixed a SQL error that could occur when switching sites with a cart cookie set. (#3522)
- Fixed an error that could occur when attempting to save a variant with special characters. (#3516)
4.6.2
5.0.7
- Improved store query performance. (#3481)
- Added
craft\commerce\gql\types\input\IntFalse
. - Fixed a bug where disclosure menus on the Stores index page weren’t listing all their items.
- Fixed an SQL error that occurred when querying for purchasables with the
hasStock
param. (#3505) - Fixed an error that could occur when querying for products or variants via GraphQL.
- Fixed a SQL error that could occur when generating the pricing catalog. (#3513)
- Fixed a bug where untracked stock items weren’t displaying correctly in the example templates. (#3510)
- Fixed a bug where the pricing catalog wasn’t getting updated after a pricing rule was disabled. (#3515)
- Fixed an SQL error that could occur when switching stores. (#3501)