Skip to content

feat(promotions): PROMO-1497 display "featured promotion callouts" in PLP and PDP#2695

Merged
donald-nguyen-bc merged 2 commits into
masterfrom
PROMO-1497_featured_promotion_callout
Jul 6, 2026
Merged

feat(promotions): PROMO-1497 display "featured promotion callouts" in PLP and PDP#2695
donald-nguyen-bc merged 2 commits into
masterfrom
PROMO-1497_featured_promotion_callout

Conversation

@donald-nguyen-bc

@donald-nguyen-bc donald-nguyen-bc commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

What?

display "featured promotion callouts" in PLP and PDP

  • homepage:
SCR-20260702-flm
  • product detail page:
SCR-20260702-frd

"related products" section inside the product detail page:

image
  • category page:
SCR-20260702-flr
  • brand page:
SCR-20260702-fr7
  • search page:
image

Requirements

  • CHANGELOG.md entry added (required for code changes only)

Tickets / Documentation

Add links to any relevant tickets and documentation.

Screenshots (if appropriate)

Attach images or add image links here.

as above


Note

Low Risk
Presentation-only Handlebars and SCSS gated by a theme checkbox; no checkout, auth, or pricing logic changes.

Overview
Adds featured promotion callouts below product price when show_featured_promotions is enabled, using a new promotion-callout partial fed by featured_promotions / product.featured_promotions from the storefront API.

Compact mode on grid cards and list rows shows the first offer and a “+N more offers” line; full mode on the PDP lists every promotion. Styling is in new _promotionCallout.scss with theme-editable background and text colors (color_bg_featured_promotions, color_text_featured_promotions), plus Theme Editor schema and default settings in config.json.

Reviewed by Cursor Bugbot for commit 6bab100. Bugbot is set up for automated code reviews on this repo. Configure here.

Comment thread templates/components/products/list-item.html Outdated
@donald-nguyen-bc
donald-nguyen-bc force-pushed the PROMO-1497_featured_promotion_callout branch from 8746767 to 7d2d488 Compare July 2, 2026 04:07

@YevenLourance YevenLourance left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice 👍

Comment thread templates/components/products/card.html Outdated

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 3f748e8. Configure here.

Comment thread templates/components/products/list-item.html
@donald-nguyen-bc
donald-nguyen-bc force-pushed the PROMO-1497_featured_promotion_callout branch from 3f748e8 to 6bab100 Compare July 3, 2026 00:40
@donald-nguyen-bc
donald-nguyen-bc merged commit f75ecb6 into master Jul 6, 2026
2 checks passed
@donald-nguyen-bc
donald-nguyen-bc deleted the PROMO-1497_featured_promotion_callout branch July 6, 2026 23:36
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.

4 participants