CouponModifierField::updateValue
Update value of the field according to any matching {@link Modification}s in the {@link Order}. Useful when the source options have changed, if a matching option cannot be found in a Modification then the first option is set at the value (selected).
Signature
public function updateValue(Order
$order,
$data )
Parameters
$order
— object
$data
—