Component usage
This component is identical to the Product slider component. Add a products slider to your home page:Variables
Source type for products:
latest, most_sales, chosen_products, category, brandArray of IDs for chosen products, categories, or brands. Example:
[123, 456]Main heading displayed above the slider
Subtitle text supporting HTML content. Use
|raw filter to render HTMLURL for “View All” button. If empty, button is hidden
Maximum number of products to display
Sorting position for component placement (starts from zero)
Example
The component only renders if the
products array contains items. Always wrap it in a length check condition.Configuration in twilight.json
This component is registered intwilight.json under features: