Skip to content

Releases: craftcms/commerce

5.0.12.1

12 Jul 05:03
dd7a087
Compare
Choose a tag to compare
  • Fixed a SQL error that occurred when updating.

5.0.12

11 Jul 14:59
5.0.12
939e2bf
Compare
Choose a tag to compare
  • 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

10 Jul 13:08
3.4.25
8788438
Compare
Choose a tag to compare
  • Fixed a bug where Commerce was showing the incorrect version number

3.4.24

03 Jul 14:29
3.4.24
f288b22
Compare
Choose a tag to compare
  • Fixed a bug where non-promotable variants could be returned when querying using hasSales(). (#3553)

5.0.11.1

20 Jun 07:51
5.0.11.1
735b7a4
Compare
Choose a tag to compare
  • Fixed a PHP error that could occur on app initialization.

4.6.3.1

20 Jun 06:28
4.6.3.1
2668522
Compare
Choose a tag to compare
  • Fixed a PHP error that could occur on app initialization. (#3546)

5.0.11

18 Jun 17:22
5.0.11
98092cc
Compare
Choose a tag to compare
  • 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

14 Jun 10:18
5.0.10.1
9b242cb
Compare
Choose a tag to compare
  • 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

12 Jun 13:43
5.0.10
73cb64f
Compare
Choose a tag to compare
  • craft\elements\User::toArray() now includes primaryBillingAddressId and primaryShippingAddressId values in response arrays.
  • craft\elements\Address::toArray() now includes isPrimaryBilling and isPrimaryShipping 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

05 Jun 18:33
5.0.9
b1dac45
Compare
Choose a tag to compare
  • 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)