Sunnysideup\Ecommerce\Model\Order::ModifiersSubTotal
Returns the subtotal of the modifiers for this order.
If a modifier appears in the excludedModifiers array, it is not counted.
Signature
public function ModifiersSubTotal([array|string
$excluded = NULL,
[boolean
$stopAtExcludedModifier = false]] )
Parameters
$excluded
— object- - Class(es) of modifier(s) to ignore in the calculation
$stopAtExcludedModifier
— boolean- - when this flag is TRUE, we stop adding the modifiers when we reach an excluded modifier
Returns
- float