diff --git a/src/course-home/outline-tab/widgets/UpgradeCard.test.jsx b/src/course-home/outline-tab/widgets/UpgradeCard.test.jsx index ff54f214..847f6997 100644 --- a/src/course-home/outline-tab/widgets/UpgradeCard.test.jsx +++ b/src/course-home/outline-tab/widgets/UpgradeCard.test.jsx @@ -134,8 +134,8 @@ describe('Upgrade Card', () => { expirationDate: discountExpirationDate.toString(), percentage: 15, code: 'Welcome15', - discountedPrice: '126.65', - originalPrice: '149', + discountedPrice: '$126.65', + originalPrice: '$149', upgradeUrl: 'www.exampleUpgradeUrl.com', }, }); @@ -163,8 +163,8 @@ describe('Upgrade Card', () => { expirationDate: discountExpirationDate.toString(), percentage: 15, code: 'Welcome15', - discountedPrice: '126.65', - originalPrice: '149', + discountedPrice: '$126.65', + originalPrice: '$149', upgradeUrl: 'www.exampleUpgradeUrl.com', }, }); @@ -192,8 +192,8 @@ describe('Upgrade Card', () => { expirationDate: discountExpirationDate.toString(), percentage: 15, code: 'Welcome15', - discountedPrice: '126.65', - originalPrice: '149', + discountedPrice: '$126.65', + originalPrice: '$149', upgradeUrl: 'www.exampleUpgradeUrl.com', }, }); @@ -221,8 +221,8 @@ describe('Upgrade Card', () => { expirationDate: discountExpirationDate.toString(), percentage: 15, code: 'Welcome15', - discountedPrice: '126.65', - originalPrice: '149', + discountedPrice: '$126.65', + originalPrice: '$149', upgradeUrl: 'www.exampleUpgradeUrl.com', }, }); diff --git a/src/generic/upgrade-button/FormattedPricing.jsx b/src/generic/upgrade-button/FormattedPricing.jsx index d13bc477..960e9c44 100644 --- a/src/generic/upgrade-button/FormattedPricing.jsx +++ b/src/generic/upgrade-button/FormattedPricing.jsx @@ -53,7 +53,7 @@ function FormattedPricing(props) { {intl.formatMessage(messages.srPrices, { discountedPrice, originalPrice })} ); diff --git a/src/shared/streak-celebration/StreakCelebrationModal.jsx b/src/shared/streak-celebration/StreakCelebrationModal.jsx index a559bdd9..7681a36f 100644 --- a/src/shared/streak-celebration/StreakCelebrationModal.jsx +++ b/src/shared/streak-celebration/StreakCelebrationModal.jsx @@ -90,8 +90,8 @@ function StreakModal({ }; offer = { - discountedPrice: (mode.price * 0.85).toFixed(2).toString(), - originalPrice: mode.price.toString(), + discountedPrice: `${verifiedMode.currencySymbol}${(mode.price * 0.85).toFixed(2).toString()}`, + originalPrice: `${verifiedMode.currencySymbol}${mode.price.toString()}`, upgradeUrl: mode.upgradeUrl, }; }