Skip to content

Commit

Permalink
DARK: Fix related product slider perPage (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
eihabkhan authored Aug 7, 2024
1 parent 0b7b27d commit d7b2853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/aura/sections/related-products.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
const desktopSlider = new Splide(`#yc_slider_{{ id }}.yc-slider__desktop`, {
type: products < 4 ? 'slide' : '{{ section.settings.slider_transition_type }}',
arrows: products == perPage ? false : ('{{ section.settings.slider_arrows }}' ? true : false),
arrows: products == desktopBlocksPerPage ? false : ('{{ section.settings.slider_arrows }}' ? true : false),
autoplay: '{{ section.settings.slider_autoplay }}' ? true : false,
cover: true,
pagination: false,
Expand Down

0 comments on commit d7b2853

Please sign in to comment.