• Resolved jaimomo

    (@jaimomo)


    Hello,
    Thank you very much for developing this great plugin.
    Is it possible to adjust the number of images displayed simultaneously? Right now only three are shown, but when the items are small like in my shop, they are far apart or too big.
    Greetings from Spain

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Vagelis

    (@eboxnet)

    Hello there, did you check the settings page?

    Plugin Author Vagelis

    (@eboxnet)

    Ahh I just saw on that link that you use the slider so I guess you need to increase the slider’s columns.

    You can use that function to adjust the slider. Paste that into your child theme’s functions.php file ( always backup first if you are not familiar with code edits )

    If you read the JS on that PHP function you ll find out what to adjust to increase/decrease the columns. It will display 6 items if you paste it as it is.

    
    function v_woo_related_slider() { 
      if (is_product()) {?>
    	<script>
    	jQuery(document).ready(function($) {
    	$("#woorelatedproducts").data('owlCarousel').destroy();
      	var owl = $("#woorelatedproducts");
    	  owl.owlCarousel({
    	      items : 6,
    	      itemsDesktop : [1000,3],
    	      itemsDesktopSmall : [900,3],
    	      itemsTablet: [600,2],
    	      autoPlay: 3500,
    	      itemsMobile : false,
    	  });
    	  });
    	</script> <?php 
    	}
    }
    add_action( 'wp_footer', 'v_woo_related_slider' );

    I hope that helps, feel free to reopen this if you need more help.
    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Number of items that are shown simultaneously’ is closed to new replies.