Skip to content

Commit

Permalink
Merge pull request #12890 from guardian/cc/black-friday-pill
Browse files Browse the repository at this point in the history
Turning discount pill back on
  • Loading branch information
charleycampbell authored Nov 21, 2024
2 parents 42cfef9 + cc3c88f commit 26d523e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ export const WithThreeTierDiscountChoiceCards: Story = {
cta: {
text: 'Support the Guardian',
baseUrl:
'https://support.theguardian.com/uk/contribute?promoCode=OCT_DISCOUNT_50_3_MONTHS',
'https://support.theguardian.com/uk/contribute?promoCode=BLACK_FRIDAY_DISCOUNT_2024',
},
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const ContributionsEpicCtasContainer: ReactComponent<Props> = ({
showChoiceCards && variant.name.includes('US_CHECKOUT_PAGE');

const hasSupporterPlusPromoCode =
variant.cta?.baseUrl.includes('OCT_DISCOUNT_50_3_MONTHS') ?? false;
variant.cta?.baseUrl.includes('BLACK_FRIDAY_DISCOUNT_2024') ?? false;

const variantOfChoiceCard =
countryCode === 'US' && showUSSupportCheckout
Expand Down

0 comments on commit 26d523e

Please sign in to comment.