slidesToScroll function override slick js code example
Example 1: slick slider unslick
$('.your-slider').slick('unslick');
Example 2: slick js
$('.multiple-items').slick({
infinite: true,
slidesToShow: 3,
slidesToScroll: 3
});
$('.your-slider').slick('unslick');
$('.multiple-items').slick({
infinite: true,
slidesToShow: 3,
slidesToScroll: 3
});