Basket/Add
Triggered when a user adds a basket item to their cart.
roomstay.events.on('Basket/Add', (event: StepCheckoutViewEvent) => {
console.log(`User added room ${event.basketRow.getRoom().name} to basket`)
})
basketRow
Row added to the guest's booking.
Type: BasketRow
currentBasket
Current basket as the guest would see it, after the new row was added.
Type: BasketRow
[]