Skip to content
  1. Extras
  2. msBonus2
  3. Plugin events
  4. msb2OnUnsetBonus

msb2OnUnsetBonus ​

Fires after bonuses are removed from the cart or order.

Parameters ​

  • numeric $writeoff — amount of bonuses that was returned
  • null|msOrder $order — msOrder object or null if it was the cart