Skip to content

feat(promotions): PROMO-1507 add featured promotions callout to pdp and plp #3057

Open
bc-vivekaggarwal wants to merge 2 commits into
canaryfrom
PROMO-1507-promotion-callout-plp-pdp
Open

feat(promotions): PROMO-1507 add featured promotions callout to pdp and plp #3057
bc-vivekaggarwal wants to merge 2 commits into
canaryfrom
PROMO-1507-promotion-callout-plp-pdp

Conversation

@bc-vivekaggarwal

@bc-vivekaggarwal bc-vivekaggarwal commented Jun 22, 2026

Copy link
Copy Markdown

Linear: PROMO-1507

What/Why?

Adds a new PromotionCallout primitive and wires promotion callouts into PDP and PLP pages.

  • PDP: a full-width banner renders above the breadcrumbs, showing all active promotions for the product sourced from featuredPromotions on the Product type.
  • PLP (category, brand, search): a full-width page-level banner renders at the top of each listing page, deduplicating promotions across all products on the page.

Rollout/Rollback

Revert.

Testing

  • pnpm build passes
  • pnpm lint passes
  • PDP and PLP pages load for guest and authenticated users

testing notes / screenshots:

  • Homepage(no banner):
image
  • PDP Page(Product related promotions):
image
  • PLP Page / Search:
image image
  • Mobile view:
image

Migration

None.

@bc-vivekaggarwal bc-vivekaggarwal requested a review from a team as a code owner June 22, 2026 01:19
@changeset-bot

changeset-bot Bot commented Jun 22, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 76736d1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@bigcommerce/catalyst-core Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel

vercel Bot commented Jun 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
catalyst Ready Ready Preview, Comment Jun 25, 2026 12:54am

Request Review

@github-actions

github-actions Bot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Bundle Size Report

Comparing against baseline from 98d5b87 (2026-06-25).

No bundle size changes detected.

@github-actions

github-actions Bot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Unlighthouse Performance Comparison — Vercel

Comparing PR preview deployment Unlighthouse scores vs production Unlighthouse scores.

Summary Score

Aggregate score across all categories as reported by Unlighthouse.

Prod Desktop Prod Mobile Preview Desktop Preview Mobile
Score 90 93 91 94

Category Scores

Category Prod Desktop Prod Mobile Preview Desktop Preview Mobile
Performance 74 96 71 91
Accessibility 95 92 95 92
Best Practices 100 100 100 100
SEO 88 100 88 100

Core Web Vitals

Metric Prod Desktop Prod Mobile Preview Desktop Preview Mobile
LCP 3.9 s 2.7 s 4.4 s 3.5 s
CLS 0.037 0 0.039 0
FCP 1.2 s 1.2 s 1.2 s 1.1 s
TBT 0 ms 10 ms 0 ms 0 ms
Max Potential FID 50 ms 70 ms 40 ms 40 ms
Time to Interactive 3.9 s 4.1 s 4.4 s 3.5 s

Full Unlighthouse report →

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant