SilverShop\Model\Modifiers\OrderModifier::modify
Modifies the incoming value by adding, subtracting or ignoring the value this modifier calculates.
Sets $this->Amount to the calculated value;
Signature
public function modify(-
$subtotal,
[boolean
$forcecalculation = false] )
Parameters
$subtotal
— object- running total to be modified
$forcecalculation
— boolean- force calculating the value, if order isn't in cart
Returns
- $subtotal
- - updated subtotal