Order::updateTotal
Go through items and modifiers and update cart total
Had to use DataObject::get() to retrieve Items because $this->Items() was not returning any items after first call to $this->addItem().
Signature
public function updateTotal()
Line | Task |
---|---|
684 | change this so doesn't write() in here |