Tutorial: Add "Notify Me" CTA for out-of-stock products#744
Open
Tutorial: Add "Notify Me" CTA for out-of-stock products#744
Conversation
sirugh
reviewed
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. |
Contributor
There was a problem hiding this comment.
The first use of the acronym should describe it, ie “Call to Action (CTA)”
Then the rest of the doc can use the acronym
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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