Salla Docs
Merchant API
  • Merchant API
  • Salla OAuth 2.0
Partner APIs
  • App API
  • Shipment API
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Change Log
Salla CLI
Merchant API
  • Merchant API
  • Salla OAuth 2.0
Partner APIs
  • App API
  • Shipment API
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Change Log
Salla CLI
Salla - Opensource
Salla - Developers Community
  1. Product
  • Overview
  • Usage
  • Components Customization
  • Elements
    • Apps Icons
    • Breadcrumb
    • Color Picker
    • Conditional Fields
    • Count Down
    • Filters
    • Infinite Scroll
    • List Tile
    • Loading
    • Map
    • Modal
    • Placeholder
    • Progress Bar
    • Rating Stars
    • Reviews
    • Reviews Summary
    • Sheet
    • Skeleton
    • Slider
    • Social
    • Social Share
    • Tabs
  • Form
    • Button
    • Bottom Alert
    • Contacts
    • Date Time Picker
    • File Upload
    • Menu
    • Quantity Input
    • Select
    • Tel Input
  • Product
    • Add Product
    • Advertisement
    • Comments
    • Conditional Offer
    • Gifting
    • Installment
    • Meta Data
    • Offer
    • Offer Modal
    • Orders
    • Payments
    • Product Availability
    • Product Card
    • Products List
    • Product Options
    • Product Size Guide
    • Products Slider
    • Quick Buy
    • Quick Order
    • Scopes
    • Search
  • User
    • Cart Summary
    • Localization
    • Login
    • Loyalty
    • Rating
    • User Menu
    • User Profile
    • User Settings
    • Verify
  1. Product

Products Slider

The <salla-products-slider> web component is used to navigate horizontally through a group of related products. Product sliders can be easily arranged in a highly customizable layout, allowing for various product views or collections to be presented in a visually appealing way.

Example#

Products Slider

Usage#

HTML
SASS
Note
This component, salla-products-slider, uses inherently the default salla-product-card component. If you want to further customize the component, feel free to read more details from here.

Properties#

PropertyAttributeDescriptionTypeDefault
Auto PlayautoplayAllow a products slider to automatically advance to the next slide.booleanundefined
Block Titleblock-titleTitle of the block, which works only if the slider is set to truestringundefined
Display All URLdisplay-all-urlLists down all URLsstringundefined
IncludesincludesSpecifies additional data to be included in the product fetch response. The value can be an array of strings or a JSON string.
Example:
- As an array:
  - includes=["options"]
- As a JSON string:
  - includes='["options"]'
The array or JSON string can include product options, "options", in the response.
string | string[]undefined
LimitlimitLimits the number of products in the listnumberundefined
Product Card Componentproduct-card-componentCustom Card Component for the Salla Products Slider. This property allows you to customize the appearance of individual product cards within a Salla Products Slider.string'custom-salla-product-card'
Slider IDslider-idSlider ID's value. If it is not provided, it will be generated automatically.stringundefined
SourcesourceThe Products List's source"brands" | "categories" | "json" | "landing-page" | "latest" | "offers" | "related" | "selected" | "tags"undefined
Source Valuesource-valueThe source value, which could be consisting of different values such as the following: • array of IDs when source in ['categories', 'brands', 'tags', 'selected'] | • keyword when source = 'search' | • products payload when source = 'json' | • product_id when source = 'related'stringundefined
Sub Titlesub-titleThe sub title of the block, which works only if the slider is set to truestringundefined
Modified at 2025-03-04 12:54:02
Previous
Product Size Guide
Next
Quick Buy