Home Forums WoodMart support forum Products page images loop

Products page images loop

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #294033

    hooman
    Participant

    Hi,
    How can I activate loop slider on products page.
    I try this code in child-theme functions but dos not work:

    function woodmart_get_owl_items_numbers( $slides_per_view, $post_type = false, $custom_sizes = false ) {
    		$items = array(
    		    loop => true,
    			//'desktop' => $slides_per_view,
    			//'tablet' => 4,
    			//'tablet_landscape' => 3,
    			//'mobile' => 2,
    		);
    		//if ( $post_type == 'product' ) {
    			//$items['mobile'] = woodmart_get_opt( 'products_columns_mobile' );
    		//}
    		return $items;
    	}
    Attachments:
    You must be logged in to view attached files.
    #294293

    Hello,

    You need to disable minification JS in the Theme Settings > Performance > JS

    Then find this file: woodmart/js/scripts/global/helpers.js

    loop           : woodmart_settings.product_slider_autoplay,
    loop           : true,

    Set Loop – true.

    Best Regards

    #294704

    hooman
    Participant

    Not Work

    Attachments:
    You must be logged in to view attached files.
    #294913

    Hello,

    Sorry for the delay.

    I have submitted the issue to our development theme, I will get back to you within two days our development department is overloaded now.

    Best Regards

    #295161

    Eric Watson
    Participant

    Hello,

    Try to disable these https://prnt.sc/13dsdzm options and check again.

    Regards

Viewing 5 posts - 1 through 5 (of 5 total)