adobe / adobe/aem-core-cif-components

Ability to control carousel count

Open
#480 1 comment 0 reactions 0 assignees View on GitHub
good first issue
Dominant language
Java
Stars
109
Forks
78
Avg merge
4d 18h
Merged PRs (30d)
4

Description

### 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.

Contributor guide

Open the contributing guide

Research direction

Start by locating the Related Products component and its authoring configuration in the repository. Check how the component currently determines the products it renders, then verify the existing default behavior, an authored maximum, and reverting to the default as described in the verification steps.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.