Skip to content

USF-3785: ACO PDP support#265

Merged
rossbrandon merged 6 commits intoplpfrom
usf-3785-aco-pdp-support
Mar 12, 2026
Merged

USF-3785: ACO PDP support#265
rossbrandon merged 6 commits intoplpfrom
usf-3785-aco-pdp-support

Conversation

@rossbrandon
Copy link
Collaborator

@rossbrandon rossbrandon commented Mar 11, 2026

Summary

Add PDP pre-rendering support for Commerce Optimizer (ACO) sites.

Tickets

USF-3785
USF-3786
USF-3770

Design Wiki

Changes

  • Detect site type via config['adobe-commerce-optimizer'] or config.headers.cs has headers with the AC- prefix.
  • Allow for configuring of category families (env var ACO_CATEGORY_FAMILIES). These families will contribute to the products fetched for PDP pre-rendering in addition to the first 10,000 products available in the catalog.
  • Add logic for resolving category slugs from a list of category families. This logic can be reused for PLP pre-rendering as well.
  • Category Tree queries added to actions/queries.js for retrieving category information from Catalog Service for ACO.

Copy link
Collaborator

@keoko keoko left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

@rossbrandon rossbrandon merged commit 84a64eb into plp Mar 12, 2026
2 checks passed
@rossbrandon rossbrandon deleted the usf-3785-aco-pdp-support branch March 12, 2026 18:31
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.

3 participants