Merged in fix/SW-1879-aa-bed-breakfastpayment- (pull request #1888)

fix: SW-1879 Updated breakfast price to 0 and removed paymentSectionOpen tracking

* fix: SW-1879 Updated breakfast price to 0 and removed paymentSectionOpen tracking


Approved-by: Michael Zetterberg
This commit is contained in:
Hrishikesh Vaipurkar
2025-04-29 07:07:40 +00:00
parent ffafdd24d1
commit e34d75969a
4 changed files with 2 additions and 40 deletions

View File

@@ -53,7 +53,7 @@ export function trackBreakfastSelection({
productCategory: "",
productId: breakfastPackage.code,
productUnits: units,
productPrice: breakfastPackage.localPrice.price,
productPrice: units > 0 ? breakfastPackage.localPrice.price : 0,
productPoints: 0,
productType: "food",
productName: breakfastPackage.packageType,
@@ -65,16 +65,3 @@ export function trackBreakfastSelection({
},
})
}
export function trackPaymentSectionOpen() {
trackEvent({
event: "paymentSectionOpen",
selection: {
name: "payment section open",
},
pageInfo: {
pageName: "hotelreservation|payment",
pageType: "bookingpaymentpage",
},
})
}