Skip to content

COMDOX-1671: Removed all references to ProductDetails except the deprecation notice#888

Open
bdenham wants to merge 6 commits into
releasefrom
comdox-1671-remove-product-details-container
Open

COMDOX-1671: Removed all references to ProductDetails except the deprecation notice#888
bdenham wants to merge 6 commits into
releasefrom
comdox-1671-remove-product-details-container

Conversation

@bdenham
Copy link
Copy Markdown
Collaborator

@bdenham bdenham commented May 14, 2026

@bdenham bdenham requested a review from fnhipster May 14, 2026 23:19
@bdenham bdenham self-assigned this May 14, 2026
@bdenham bdenham added the major-update Significant original updates to existing content label May 14, 2026
Copy link
Copy Markdown
Contributor

@sirugh sirugh left a comment

Choose a reason for hiding this comment

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

This is really good, but we need to talk about whether it's better to remove entirely, or retain but with deprecated label.

Comment thread scripts/GENERATOR-BUGS.md Outdated
Comment thread src/content/docs/boilerplate/updates.mdx
Comment thread src/content/docs/boilerplate/updates.mdx
Comment on lines +24 to +29
<Aside type="caution">
The monolithic `ProductDetails` container is deprecated. It is not used in the Commerce boilerplate. Do not use it for new work. Compose the smaller containers in this table instead (for example, [ProductHeader](/dropins/product-details/containers/product-header/), [ProductGallery](/dropins/product-details/containers/product-gallery/), [ProductPrice](/dropins/product-details/containers/product-price/), and [ProductOptions](/dropins/product-details/containers/product-options/)), then use [Slots](/dropins/product-details/slots/) on each container when you need slot-based customization.
</Aside>

Add to Cart, Add to Wishlist, and similar primary actions are not provided through the Product Details slots in the [Slots](/dropins/product-details/slots/) table. The storefront composes them in the product-details block using separate mount points and the Wishlist or cart patterns described in [Add to Cart and Add to Wishlist](/dropins/product-details/slots/#add-to-cart-and-add-to-wishlist) on that page.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice, love this.

| Container | Slots |
|-----------|-------|
| [`ProductAttributes`](#productattributes-slots) | `Attributes` |
| [`ProductDetails`](#productdetails-slots) | `Title`, `SKU`, `RegularPrice`, `SpecialPrice`, `Options`, `Quantity`, `Actions`, `ShortDescription`, `Description`, `Attributes`, `Breadcrumbs`, `GalleryContent`, `InfoContent`, `Content` |
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Same, I'd re-add this with clear indication that it is deprecated, like in the Container column of this table it was removed from. Or even a new column, Deprecated that has boolean entries?.

Comment thread src/content/docs/dropins/product-details/slots.mdx Outdated
Comment thread src/content/docs/dropins/product-details/slots.mdx
}
})(block);
```
Slots for the deprecated monolithic single-container API are not documented on this page, and that pattern is not used in the Commerce boilerplate. For the full container list, links to each topic, and the canonical deprecation notice, use the [containers overview](/dropins/product-details/containers/). For migration context, see [Product details page architectural evolution](/boilerplate/updates/#product-details-page-architectural-evolution).
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Would have to change this if we decide to keep the deprecated API.

Comment thread src/content/docs/setup/configuration/aem-prerender.mdx
```

## ProductDetails slots
## ProductDetails slots (deprecated)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nit: The slots aren't deprecated, the container is. Can we tune this slightly on the entire PR? I noticed it's a bit backwards (to me at least)

Good:

ProductDetails Container (deprecated)
ProductDetails (deprecated) slots

Bad:

ProductDetails (deprecated) container
ProductDetails slots (deprecated)

@bdenham bdenham requested a review from sirugh May 15, 2026 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

major-update Significant original updates to existing content

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants