aem-core-cif-components icon indicating copy to clipboard operation
aem-core-cif-components copied to clipboard

Ability to control carousel count

Open Derthenier opened this issue 4 years ago • 1 comments

User Story

As an author, I want the ability to limit the number of products displayed in the Related Products.

Description & Motivation

Instead of showing all the products available, I would like to showcase a limited number of products in the Related Products component to entice customers to click into another page.

Deliverables

Provide a way for content authors to provide a limit to the number of products displayed. If provided, the component should display at most that many products in the component. This would require code change.

Acceptance Criteria

Should have the ability to author a maximum number of products to showcase. Should be able to "revert" back to default behavior. When authored, the component should render up to the authored maximum limit.

Verification Steps

Author the component and verify the default (existing) behavior works as expected. Configure the component to have a limit on the number of products displayed. Verify that no more than the authored limit show up. Configure the component to revert back to the default behavior. Verify that all products show up.

Derthenier avatar Feb 05 '21 15:02 Derthenier

Thanks for the issue @Derthenier. This is a valid request and we might put it on our roadmap, but in the meantime feel free to contribute by filing a PR.

dplaton avatar Feb 24 '21 10:02 dplaton