Nov 21, 2019
Mar 27, 2020
Closed, Acceptance tests pass
The Marketing screen displays all campaigns. For each campaign, the screen displays
The collection of these statistics has been reworked to improve performance.
To use this optimization, you must run the new Commerce scheduled job Collect Order Per Promotion Statistics, which migrates your promotions system to the new optimization. If campaigns have too many orders, you may get a timeout exception when running that job. If you do, add an appSettings key named episerver:commerce.OrderPerPromotionReportDataTimeout, and set the timeout in seconds.
By default, this optimization ignores inactive and expired campaigns and promotions (although they are migrated along with active campaigns and promotions). If you want to force the refreshing of their data, add an appSettings key named episerver:commerce.ReportForInactivePromotionItems and set it to true.