Skip to content
Catalog & Product Extensions

Product Slider Widget for Magento 2

A free product carousel widget for Magento 2. Choose products by category, ID, SKU, sale price, newness, price range or stock, set columns per device and place the slider on a CMS page, block or layout handle. Works on Hyvä and Luma.

  • Free
  • Themes listed: Hyvä + Luma
Free $0.00, in stock
Check requirementsSee the versions and themes listed for this package. Details Ask about setupInclude the package name and your Magento and PHP versions. Ask
$0.00
In stock
SKU
panth-product-slider
Links
composer require mage2kishan/module-product-slider
SKU
panth-product-slider
  • Package requirementsRead the source documentation
  • Developer profileView Upwork profile
  • Themes listedHyvä + Luma
  • PHP versions listed8.1, 8.2, 8.3, 8.4
  • Installation questionsDiscuss your store setup

What it does for your store

The main features, as listed in the module documentation.

  • Two ways to build a slider

    An inline widget with every option in the widget form, or a slider saved in Manage Sliders and placed by its identifier.

  • Product selection

    Category IDs (with subcategories in the Advanced widget), product IDs or SKUs, sale products only, products from the last N days, a price range and an out of stock filter.

  • Layout and style

    Column counts for mobile, tablet and desktop, the presets Default, Modern, Minimal, Bold and Custom, card shadow and hover effects.

  • Place it anywhere

    CMS widget directive, layout XML block or a PHTML call; the admin form shows the embed code after the first save.

  • Hyvä and Luma templates

    Hyvä uses its snap slider and product card renderer; Luma uses Swiper from Panth Core. Autoplay pauses on hover, focus and reduced motion.

Installation

Example commands from the Magento root. Follow the package instructions and your staging and deployment process.

  1. 1Check the releaseMatch Magento, PHP, theme and dependency requirements.
  2. 2Install on stagingReview Composer changes and follow the package instructions.
  3. 3Configure and verifyUse the documented settings and test the affected features.
magento-root
$ composer require mage2kishan/module-product-slider
$ bin/magento setup:upgrade
$ bin/magento setup:di:compile
$ bin/magento setup:static-content:deploy -f
$ bin/magento cache:clean

Listed requirements

These are the details supplied in this listing. Confirm the selected release supports your Magento edition, PHP and storefront.

Magento versions listed2.4.6, 2.4.7, 2.4.8
PHP versions listed8.1, 8.2, 8.3, 8.4
Themes listedHyvä, Luma
Composer packagemage2kishan/module-product-slider

Read package requirements and license

Documentation

Product details and setup guidance. Check the package repository for release-specific instructions.

Overview

Product Slider (Panth_ProductSlider) adds product carousels to Magento 2 storefronts without template edits. You place it as a widget on a CMS page or block, or as a block in layout XML, and choose which products it shows from the widget form or from a slider saved in the admin.

It is a ready product carousel for store admins. If you are a developer who wants the Slick library loaded so you can build your own carousels in code, see the Slick Slider Integration module instead.

Two widget types

  • Panth Product Slider (Advanced): every option is set in the widget form.
  • Panth Product Slider (By Identifier): shows a slider created under Panth Extensions > Product Slider > Manage Sliders. The grid lists your sliders with filters, keyword search and a delete mass action, and the edit form shows the CMS, layout XML and PHTML embed code after the first save.

A stored slider is shown only when it is enabled and assigned to the current store view or to All Store Views.

Choosing products

  • Category IDs. In the Advanced widget you can also include products from subcategories.
  • Product IDs (the order you give is kept) or product SKUs.
  • Sale products only: an active special price below the regular price.
  • Products created in the last N days, a price from and to range, and an exclude out of stock switch.
  • Sort by position, name, price, newest first or random, ascending or descending, with 8 products by default (1 to 100).

Only enabled products visible in the catalog for the current store and customer group are shown. A slider with no matching products renders nothing.

Layout and storefront

  • Column counts for mobile, tablet and desktop (defaults 1, 2 and 4), a heading tag from h1 to h6, an optional description and pagination dots.
  • Autoplay with an interval (3000 ms by default) that pauses on hover and keyboard focus and does not run when the visitor prefers reduced motion.
  • Style presets Default, Modern, Minimal, Bold and Custom, card shadow and hover effects. In the Advanced widget you can also show badges for sale, new, stock and featured at one of four positions. These card settings apply when Apply Card Settings is Yes in the configuration.
  • Hyvä: the slider uses Hyvä's snap slider and the Hyvä product card, so cards match the rest of the catalog. Luma: the slider uses the Swiper bundle shipped by Panth Core and its own product card.

Saving a product or a slider refreshes the cached pages that show it.

Requirements

  • Magento Open Source or Adobe Commerce 2.4.4 to 2.4.8.
  • PHP 8.1, 8.2, 8.3 or 8.4.
  • Panth Core, installed by Composer as a dependency. On Hyvä, Hyvä's view models (ProductListItem, LucideIcons) and the snap slider.

Free and open source under the MIT License.

Developer notes

  • PHP namespace: Panth\ProductSlider. Admin route: panth_productslider.
  • Blocks for layout XML and widget directives: Block\Widget\ProductSlider and Block\SliderById, which extends it and loads a stored slider by identifier.
  • Table panth_product_slider: primary key slider_id, unique index on identifier. The store_ids column holds 0 (All Store Views) or a comma-separated list of store view IDs. Model\Slider uses the event prefix panth_product_slider.
  • Cache: the blocks return the cat_p tags of the rendered products and, for Block\SliderById, the panth_product_slider tags.
  • The admin product picker (Controller\Adminhtml\Slider\ProductsGrid) loads up to 500 enabled, visible products.
  • ACL resources: Panth_ProductSlider::slider_manage and Panth_ProductSlider::config.
  • The module declares no plugins, preferences, observers, cron jobs, web APIs or console commands.
More information
Module Category Theme & UI
Best For All Sizes
Kishan Savaliya

Questions before you install?

Send me your composer.json and I will check for conflicts first. Free. Installation is +$45, custom work is quoted first.

Ask on WhatsApp