SilverShop\Tasks\RecalculateAllOrdersTask
Recalculate All Orders Re-runs all calculation functions on all orders so that database is populated with pre-calculated values.
Synopsis
class RecalculateAllOrdersTask
extends BuildTask
{
- // members
- protected string $title = 'Recalculate All Orders';
- protected string $description = 'Runs all price calculation functions on all orders.';
- // methods
- public void run()
Hierarchy
Extends
- SilverStripe\Dev\BuildTask
Tasks
Line | Task |
---|---|
25 | include order total calculation, once that gets written |
26 | figure out how to make this run faster |
27 | better memory managment...the destroy calls are not enough it appears. |
Members
protected
- $description
- $title