How to install Magento 2 slick slider?

What is Magento 2 slick slider?

Magento 2 slick slider from Amasty is a jQuery plugin for quickly creating a responsive slider of any complexity on your website. Its functionality allows you to implement looping, autoplay, transition effects, and much more. However, setting up this plugin requires technical knowledge. To do it without coding, you can use our Banner Slider extension. It provides the following functions:

  • highlighting banners with an animation

  • adding text to banners

  • specifying target URLs for each banner

  • setting up separate views for mobile and desktop and more.

How to create a Magento product slider on the homepage?

To enable the Magento product slider on the homepage, you need to install and turn on our Banner Slider extension. Next, set up general settings according to your business needs, following instructions given in the user guide. After this, you can configure the product slider for the homepage. Read on to see the steps.

Step 1. Go to Content > Amasty Banner Slider > Manage Sliders to create it.

setings of slick slider

Step 2. Click on the Create New Slider button to set a new slider.

Step 3. Here you will see the creation area:

slick slider

Step 4. Choose Slider name in the eponymous field.

Step 5. Then switch Status to on position in order to enable slider or to off to disable it. The status will be updated on the grid automatically.

Step 6. Choose Yes on the Enable Autoplay option to turn on the automatic slideshow. If it is off, users will need to switch them manually.

Step 7. You can set the time between switching slides in the Pause Time Between Transitions field. You can leave it empty then the default value will be applied (3500 ms).

Step 8. Save the changes.

The Magento 2 slick is set, but some more functions you can adjust in the same window:

  • animation (Pay attention that it affects transition speed)

  • styles of arrows and bullets 

  • resize banners images by changing their width and height.

Get acquainted with more functions of the extension and check the user guide for more info about its settings.

To enhance your work with promotions, you can use Promotion Suite Pro. It can help to automate the work with promos and save time on setting them up.

What are the benefits of the Magento 2 related products slider?

Magento 2 Related Products slider allows you to show the products that are offered to the customer additionally, after the main purchase item is already selected. This allows you to increase the total value of the order.

How can I add a slider to the homepage in Magento 2 using the Amasty Banner Slider extension?

To add a slider to the homepage in Magento 2 using the Amasty Banner Slider extension, you can follow these steps:

  1. Install the Amasty Banner Slider extension from the Magento Marketplace.
  2. Navigate to the "Banner Sliders" section in the Magento admin panel and click the "Add New Slider" button.
  3. Configure the slider settings, including slider dimensions, transition effects, and navigation options.
  4. Add slides to the slider by clicking the "Add New Slide" button and uploading images, adding text, and setting links as desired.
  5. Configure any additional settings for the slider, such as autoplay or touch-swipe support.
  6. Save the slider and navigate to the "Layouts" section in the Magento admin panel.
  7. Add the slider block to the homepage layout XML file by adding the following code:

<referenceContainer name="content">
<block class="Amasty\BannerSlider\Block\Slider" name="amasty.banner.slider" template="Amasty_BannerSlider::slider.phtml">
<arguments>
<argument name="slider_alias" xsi:type="string">your_slider_alias_here</argument>
</arguments>
</block>
</referenceContainer>


  1. Replace "your_slider_alias_here" with the alias of the slider you created in step 2.
  2. Save the changes to the XML file and refresh the homepage to see the slider displayed.

By following these steps, you can easily add a slider to the homepage in Magento 2 using the Amasty Banner Slider extension.

How can we help you?

Didn’t you find the answer to your question? We are always happy to help you out.