Skip to content

Comments

Tutorial: Add "Notify Me" CTA for out-of-stock products#744

Open
cctina516 wants to merge 2 commits intodevelopfrom
pdp-button
Open

Tutorial: Add "Notify Me" CTA for out-of-stock products#744
cctina516 wants to merge 2 commits intodevelopfrom
pdp-button

Conversation

@cctina516
Copy link
Contributor

Purpose of this pull request

This pull request (PR) serves as a tutorial for a frequent customer request. This tutorial walks through the changes needed to add "Notify Me" CTA for out-of-stock products on the PDP page.

Note: This documentation is generated based on an example PR: hlxsites/aem-boilerplate-commerce#1116. This PR is currently pending customer validation. Once I receive updates from them, I will update this PR description.

Associated JIRA ticket

Staging preview

Preview URL for a Sample Configurable product: https://oos-example--aem-boilerplate-commerce--hlxsites.aem.live/products/tee-shirt/teeshirt?optionsUIDs=Y29uZmlndXJhYmxlLzUzNi81Mw%3D%3D%2CY29uZmlndXJhYmxlLzI3OS8zOQ%3D%3D

Affected pages

  • ...

Links to source code

@cctina516 cctina516 requested a review from bdenham February 20, 2026 22:16
@bdenham bdenham added the new-topic A major update published as an entirely new document label Feb 20, 2026
import Task from '@components/Task.astro';
import TableWrapper from '@components/TableWrapper.astro';

When a product or selected variant is out of stock, the primary CTA button on the Product Detail Page (PDP) can display **"Notify Me"** instead of **"Add to Cart"**. This applies to both simple products and configurable products with multiple options (for example, size and color). When the shopper switches to a different variant, the CTA updates dynamically based on that variant's stock status.
Copy link
Contributor

Choose a reason for hiding this comment

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

The first use of the acronym should describe it, ie “Call to Action (CTA)”

Then the rest of the doc can use the acronym

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

Labels

new-topic A major update published as an entirely new document

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants