diff --git a/apps/scandic-web/components/HotelReservation/SelectRate/RoomsContainer/RateSummary/index.tsx b/apps/scandic-web/components/HotelReservation/SelectRate/RoomsContainer/RateSummary/index.tsx index 152b48256..09d6321d0 100644 --- a/apps/scandic-web/components/HotelReservation/SelectRate/RoomsContainer/RateSummary/index.tsx +++ b/apps/scandic-web/components/HotelReservation/SelectRate/RoomsContainer/RateSummary/index.tsx @@ -188,7 +188,13 @@ export default function RateSummary() { mainRoomCurrency = rateProduct.public.localPrice.currency } - const showStrikedThroughPrice = bookingCode || isUserLoggedIn + const totalRegularPrice = totalPriceToShow.local?.regularPrice + ? totalPriceToShow.local.regularPrice + : 0 + const isTotalRegularPriceGreaterThanPrice = + totalRegularPrice > totalPriceToShow.local.price + const showStrikedThroughPrice = + (!!bookingCode || isUserLoggedIn) && isTotalRegularPriceGreaterThanPrice // attribute data-footer-spacing used to add spacing // beneath footer to be able to show entire footer upon