View/Addon
Triggered when user reaches the Addon step, to choose optional additional products to their cart.
roomstay.events.on('View/Addon', (event: StepAddonViewEvent) => {
console.log(`User is on the addon step, currently with ${event.basketRows.length} rows`)
})
basketRows
Basket Rows currently in users basket. Useful for checking if the user has checked out with a sepcific rate, or there is a promo code applied.
Type: BasketRow
[]