Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Releases: craftcms/commerce

5.5.1

04 Dec 14:07
5.5.1
01b02fd

Choose a tag to compare

  • Added craft\commerce\models\CatalogPricingRule::afterPreparePurchasableQuery().
  • Fixed a bug where tax and shipping categories weren’t getting saved from the Edit variant screen. (#4180)
  • Fixed a bug where newly-created variants weren’t visible on product edit screens.
  • Fixed a SQL error that could occur when viewing product indexes.
  • Fixed a PHP error that could occur when applying project config changes after updating. (#4185)
  • Fixed a bug where an order’s origin could be set incorrectly if it was created in the control panel.
  • Fixed a bug where order edit screens weren’t formatting prices using the user’s preferred formatting locale.
  • Fixed a SQL error that could occur when generating the pricing catalog. (#4175)

5.5.0.1

24 Nov 09:08
5.5.0.1
fcd76cc

Choose a tag to compare

  • Fixed an error that could occur when querying for products via GraphQL. (#4122)

5.5.0

18 Nov 16:38
5.5.0
f231d4a

Choose a tag to compare

Store Management

  • Added the ability to suppress order emails when marking an order as complete in the control panel. (#4144)
  • PDF download URLs are now generated with time-limited security tokens.
  • Anonymous users attempting to download a PDF with an expired or missing token are now shown an email verification form.
  • Added a new system message for customizing PDF download emails.
  • Added the ability to select multiple products in variant conditions. (#4166)
  • Added the ability to select multiple variants in pricing rules’ “Match Variant” conditions. (#4167)
  • Added the ability to select multiple users in pricing rules’ “Match Customer” conditions. (#4167)

Administration

  • Added billing and shipping address conditions to payment gateways. (#4100)
  • Added preview targets for products. (#4128)
  • Added slug translation options to product types. (#4088)
  • Gateway condition rules now allow multiple gateways to be selected. (#4112)
  • Product action menus now have a “Product type settings” action, for admin users on environments that allow admin changes. (#4157)
  • Added the “Link Duration” setting to PDF settings.

Development

  • Orders now have a dateFirstPaid property that records the date and time when the order was first paid in full.
  • Improved product and variant query performance.
  • Improved the performance of retrieving a line item’s catalog pricing rule ID.
  • Added the children, parent, ancestors and descendants fields to products’ GraphQL data. (#4122)
  • Added the productStatus variant query param. (#4158)
  • Added the productStatus GraphQL variant query argument. (#4158)
  • Added the --force option to the commerce/reset-data command. (#4115)

Extensibility

  • Added craft\commerce\controllers\BaseStoreManagementController::asStoreManagementCpScreen().
  • Added craft\commerce\controllers\DownloadsController::actionEmailChallenge().
  • Added craft\commerce\controllers\DownloadsController::actionPdfChallenge().
  • Added craft\commerce\controllers\DownloadsController::actionPdfSent().
  • Added craft\commerce\elements\Order::$dateFirstPaid.
  • Added craft\commerce\elements\Order::getMaskedEmail().
  • Added craft\commerce\elements\conditions\customers\CatalogPricingRuleCustomerConditionRule.
  • Added craft\commerce\elements\conditions\variants\CatalogPricingRuleVariantConditionRule.
  • Added craft\commerce\elements\conditions\variants\VariantConditionRule.
  • Added craft\commerce\elements\db\OrderQuery::$dateFirstPaid.
  • Added craft\commerce\elements\db\OrderQuery::dateFirstPaid().
  • Added craft\commerce\events\InventoryMovementEvent. (#4063)
  • Added craft\commerce\events\UpdateInventoryLevelEvent. (#4063)
  • Added craft\commerce\helpers\Cp::shippingCategoryFieldHtml().
  • Added craft\commerce\helpers\Cp::shippingMethodFieldHtml().
  • Added craft\commerce\helpers\Cp::shippingZoneFieldHtml().
  • Added craft\commerce\helpers\Cp::taxCategoryFieldHtml().
  • Added craft\commerce\helpers\Cp::taxZoneFieldHtml().
  • Added craft\commerce\helpers\Gql::getSchemaContainedProductTypes().
  • Added craft\commerce\helpers\ProductQuery.
  • Added craft\commerce\models\Email::$renderSiteId.
  • Added craft\commerce\models\Email::getRenderSite().
  • Added craft\commerce\models\Pdf::$linkExpiry.
  • Added craft\commerce\queue\jobs\ResaveProductVariants.
  • Added craft\commerce\records\Email::$renderSiteId.
  • Added craft\commerce\records\Order::$dateFirstPaid.
  • Added craft\commerce\services\CatalogPricingRules::hasCatalogPricingRules().
  • Added craft\commerce\services\Discounts::appendCouponCode(). (#4084)
  • Added craft\commerce\services\Inventory::EVENT_AFTER_EXECUTE_INVENTORY_MOVEMENT. (#3835)
  • Added craft\commerce\services\Inventory::EVENT_AFTER_EXECUTE_UPDATE_INVENTORY_LEVEL. (#3835)
  • Added craft\commerce\services\Pdfs::getPdfUrl() now generates secure tokenized URLs with expiry timestamps.

System

  • Fixed a bug where purchasables could have a shipping category that was no longer available to their product type. (#4018)
  • Fixed a bug where order emails weren’t always getting rendered for the correct site.
  • Fixed a bug where variant titles were being incorrectly generated for draft products. (#4173, #4126)
  • Fixed a PHP error that occurred when retrieving an order that referenced an archived payment gateway. (#4172)
  • Fixed a bug where variants with inactive products were being returned in GraphQL variant queries. (#4158)

4.10.0

18 Nov 16:36
4.10.0
881da40

Choose a tag to compare

Store Management

  • PDF download URLs are now generated with time-limited security tokens.
  • Anonymous users attempting to download a PDF with an expired or missing token are now shown an email verification form.
  • Added a new system message for customizing PDF download emails.

Administration

  • Added the “Link Duration” setting to PDF settings.

Extensibility

  • Added craft\commerce\controllers\DownloadsController::actionEmailChallenge().
  • Added craft\commerce\controllers\DownloadsController::actionPdfChallenge().
  • Added craft\commerce\controllers\DownloadsController::actionPdfSent().
  • Added craft\commerce\elements\Order::getMaskedEmail().
  • Added craft\commerce\models\Pdf::$linkExpiry.
  • Added craft\commerce\services\Pdfs::getPdfUrl() now generates secure tokenized URLs with expiry timestamps.

5.4.10

12 Nov 15:52
5.4.10
61b9246

Choose a tag to compare

  • Fixed a SQL error that could occur when viewing unfulfilled orders on PostgreSQL. (#4171)
  • Fixed a bug where duplicate pricing catalog jobs could be queued. (#4136)
  • Fixed a bug where the commerce_catalogpricing table could be missing indexes. (#4160)
  • Deprecated craft\commerce\services\CatalogPricing::afterSavePurchasableHandler().

5.4.9

29 Oct 15:09
5.4.9
8ea0e21

Choose a tag to compare

  • Fixed a bug where line items could display values in the wrong currency on Edit Order pages. (#4147)
  • Fixed a PHP error that could occur when saving a discount. (#4146, #4059)
  • Fixed a PHP error that occurred when applying project config changes after adding a new site.

5.4.8

15 Oct 16:11
5.4.8
077beb1

Choose a tag to compare

  • Fixed a PHP error that could occur when saving a discount. (#4134)
  • Fixed a PHP error that could occur when editing an order. (#4139)

4.9.4

15 Oct 16:07
4.9.4
a82832a

Choose a tag to compare

  • Fixed a SQL error that could occur when deleting a shipping method.

5.4.7.1

09 Oct 11:24
5.4.7.1
a38a5b5

Choose a tag to compare

  • Fixed a PHP error that could occur when querying variants. (#4129)

5.4.7

08 Oct 13:26
5.4.7
9a80ac1

Choose a tag to compare

  • Fixed a bug where catalog pricing rules could generate promotional prices for non-promotable purchasables. (#4118)
  • Fixed a bug where variants weren’t getting duplicated correctly. (#4125)
  • Fixed a SQL error that could occur when deleting a shipping method.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.