Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add "Product List (REST)" CMS component #1397

Merged
merged 1 commit into from
Mar 31, 2023

Conversation

shauke
Copy link
Collaborator

@shauke shauke commented Mar 27, 2023

PR Type

[x] Feature

What Is the New Behavior?

Adds support for an additional CMS component "Product List (REST)" that can render product lists based on any generic REST request (not just from ICM) that provides a simple or complex Array of product SKUs.

Does this PR Introduce a Breaking Change?

[x] No

Other Information

Requires additional CMS Content Model component.common.productListRest.pagelet2 available with ICM 7.10.40.1

AB#84814

@shauke shauke added this to the 4.0 milestone Mar 27, 2023
@shauke shauke self-assigned this Mar 27, 2023
@SGrueber
Copy link
Collaborator

There are now 4 cms product list components that all render the same html. Imo, it would be useful to create a new component that renders the stuff (input parameters: pagelet, skus )

@shauke
Copy link
Collaborator Author

shauke commented Mar 31, 2023

There are now 4 cms product list components that all render the same html. Imo, it would be useful to create a new component that renders the stuff (input parameters: pagelet, skus )

I would rather keep the rendering templates of CMS components self-sufficient and not create an additional general component that all use. For most parts all 4 CMS components already use the general ish-products-list component.

@shauke shauke requested a review from SGrueber March 31, 2023 12:03
SGrueber
SGrueber previously approved these changes Mar 31, 2023
@shauke shauke force-pushed the feature/cms_product_list_rest_endpoint branch from 7c5f449 to 0098b8f Compare March 31, 2023 15:45
@shauke shauke merged commit dc5c9dc into develop Mar 31, 2023
@shauke shauke deleted the feature/cms_product_list_rest_endpoint branch March 31, 2023 17:58
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