Sunnysideup\Ecommerce\Model\Order::init
init runs on start of a new Order (@see onAfterWrite) it adds all the modifiers to the orders and the starting OrderStep.
Signature
public function init([boolean
$recalculate = false] )
Parameters
$recalculate
— boolean
Returns
- DataObject
- (Order)