Skip to content

Commit

Permalink
feat: update subscription upsell text
Browse files Browse the repository at this point in the history
  • Loading branch information
NawfalAhmed committed May 16, 2023
1 parent 9702a05 commit 69cbe19
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/subscriptions/ManageSubscriptionsPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { subscriptionsSelector } from './selectors';

const ManageSubscriptionsPage = () => {
const dispatch = useDispatch();
const { stripeCustomerPortalURL, stripeError, stripeLoading } = useSelector(
const { stripeCustomerPortalURL, stripeError } = useSelector(
subscriptionsSelector,
);

Expand Down
10 changes: 6 additions & 4 deletions src/subscriptions/SubscriptionUpsell.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@ import { useMediaQuery } from 'react-responsive';

import { FormattedMessage } from '@edx/frontend-platform/i18n';
import { Alert, Badge, Button } from '@edx/paragon';
import { Search } from '@edx/paragon/icons';

const SubscriptionUpsell = () => (
<Alert
className="bg-light-200"
actions={[
<Button className="text-nowrap" iconBefore={Search}>
<Button className="text-nowrap">
<FormattedMessage
id="ecommerce.order.history.subscription.upsell.button"
defaultMessage="Explore subscription options"
Expand All @@ -32,14 +31,17 @@ const SubscriptionUpsell = () => (
</Badge>
<FormattedMessage
id="ecommerce.order.history.subscription.upsell.heading"
defaultMessage="Monthly program subscriptions now available"
defaultMessage="Monthly program subscriptions {emDash} more flexible, more affordable"
description="Heading for subscription upsell"
values={{
emDash: <>&mdash;</>,
}}
/>
</Alert.Heading>
<FormattedMessage
tagName="p"
id="ecommerce.order.history.subscription.upsell.message"
defaultMessage="An easier way to access popular programs with more control over how much you spend. Starting at {minSubscriptionPrice} per month after a {trialLength}-day free trial. Cancel anytime."
defaultMessage="Now available for many popular programs, affordable monthly subscription pricing can help you manage your budget more effectively. Subscriptions start at {minSubscriptionPrice}/month USD per program, after a {trialLength}-day full access free trial. Cancel at any time."
description="Message body for subscription upsell"
values={{
minSubscriptionPrice: '$39',
Expand Down

0 comments on commit 69cbe19

Please sign in to comment.