diff --git a/apps/scandic-web/components/HotelReservation/EnterDetails/Summary/UI/index.tsx b/apps/scandic-web/components/HotelReservation/EnterDetails/Summary/UI/index.tsx index a039e1062..85bba94eb 100644 --- a/apps/scandic-web/components/HotelReservation/EnterDetails/Summary/UI/index.tsx +++ b/apps/scandic-web/components/HotelReservation/EnterDetails/Summary/UI/index.tsx @@ -520,6 +520,7 @@ export default function SummaryUI({ ) : null} diff --git a/apps/scandic-web/components/HotelReservation/SignupPromo/Desktop.tsx b/apps/scandic-web/components/HotelReservation/SignupPromo/Desktop.tsx index 62f8352af..27301e86d 100644 --- a/apps/scandic-web/components/HotelReservation/SignupPromo/Desktop.tsx +++ b/apps/scandic-web/components/HotelReservation/SignupPromo/Desktop.tsx @@ -13,6 +13,7 @@ import type { SignupPromoProps } from "@/types/components/hotelReservation/signu export default function SignupPromoDesktop({ memberPrice, badgeContent, + isEnterDetailsPage = false, }: SignupPromoProps) { const intl = useIntl() if (!memberPrice) { @@ -28,20 +29,35 @@ export default function SignupPromoDesktop({ > {badgeContent && {badgeContent}} - {intl.formatMessage( - { - defaultMessage: - "To get the member price {price}, log in or join when completing the booking.", - }, - { - span: (str) => ( - - {str} - - ), - price, - } - )} + {isEnterDetailsPage + ? intl.formatMessage( + { + defaultMessage: + "To get the member room price {price}, log in or join when completing the booking.", + }, + { + span: (str) => ( + + {str} + + ), + price, + } + ) + : intl.formatMessage( + { + defaultMessage: + "To get the member price {price}, log in or join when completing the booking.", + }, + { + span: (str) => ( + + {str} + + ), + price, + } + )} ) : null diff --git a/apps/scandic-web/types/components/hotelReservation/signupPromo.ts b/apps/scandic-web/types/components/hotelReservation/signupPromo.ts index ff0024e64..07be54267 100644 --- a/apps/scandic-web/types/components/hotelReservation/signupPromo.ts +++ b/apps/scandic-web/types/components/hotelReservation/signupPromo.ts @@ -4,4 +4,5 @@ export interface SignupPromoProps { currency: string } badgeContent?: string + isEnterDetailsPage?: boolean }