Skip to content

fix!: update product.sales during migration#190

Merged
Dennis Garding (DennisGarding) merged 6 commits into
trunkfrom
12748/update-product-sales
May 26, 2026
Merged

fix!: update product.sales during migration#190
Dennis Garding (DennisGarding) merged 6 commits into
trunkfrom
12748/update-product-sales

Conversation

@DennisGarding

@DennisGarding Dennis Garding (DennisGarding) commented May 20, 2026

Copy link
Copy Markdown
Contributor

Closes: shopware/shopware#12748

  • Recalculates product.sales after order migration based on persisted live order line items.
  • Covers remigration cases by updating both previously and currently affected products.

Comment thread src/Migration/Service/ProductSalesUpdater.php
Comment thread src/Migration/Service/ProductSalesUpdater.php Outdated
Comment thread src/Migration/Writer/OrderWriter.php
Comment thread src/Migration/Writer/OrderWriter.php Outdated
@DennisGarding Dennis Garding (DennisGarding) changed the title fix: update product.sales during migration fix!: update product.sales during migration May 26, 2026
@DennisGarding Dennis Garding (DennisGarding) merged commit bd92eb9 into trunk May 26, 2026
11 of 14 checks passed
@DennisGarding Dennis Garding (DennisGarding) deleted the 12748/update-product-sales branch May 26, 2026 05:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrated orders are not included in the ‘Sales’ field in the product overview.

4 participants