Skip to content

Commit

Permalink
#3805 Inline-editable matrix fields not saving on variants
Browse files Browse the repository at this point in the history
Co-authored-by: Iwona Just <[email protected]>
  • Loading branch information
nfourtythree and i-just committed Dec 10, 2024
1 parent 206b1f8 commit cdb0426
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Unreleased

- Fixed a bug where a product’s default price was showing incorrectly on the Products index page. ([#3807](https://github.com/craftcms/commerce/issues/3807))
- Fixed a bug where inline-editable Matrix fields weren’t saving content on product variants. ([#3805](https://github.com/craftcms/commerce/issues/3805))
- Fixed a bug where order errors weren't showing on the Edit Order page.

## 5.2.8 - 2024-12-04
Expand Down
2 changes: 2 additions & 0 deletions src/base/Purchasable.php
Original file line number Diff line number Diff line change
Expand Up @@ -1119,6 +1119,8 @@ public function afterSave(bool $isNew): void
*/
public function afterPropagate(bool $isNew): void
{
parent::afterPropagate($isNew);

Plugin::getInstance()->getCatalogPricing()->createCatalogPricingJob([
'purchasableIds' => [$this->getCanonicalId()],
'storeId' => $this->getStoreId(),
Expand Down

0 comments on commit cdb0426

Please sign in to comment.