add animationLoop to woocommerce_single_product_carousel_options filter
This commit is contained in:
parent
d8bd80fbb7
commit
21a14b8636
|
@ -124,7 +124,7 @@ jQuery( function( $ ) {
|
|||
controlNav: wc_single_product_params.flexslider.controlNav,
|
||||
slideshow: wc_single_product_params.flexslider.slideshow,
|
||||
animationSpeed: wc_single_product_params.flexslider.animationSpeed,
|
||||
animationLoop: false // Breaks photoswipe pagination if true. It's hard disabled because we don't need it anyway (no next/prev enabled in flex).
|
||||
animationLoop: wc_single_product_params.flexslider.animationLoop // Breaks photoswipe pagination if true.
|
||||
});
|
||||
},
|
||||
|
||||
|
|
|
@ -431,6 +431,7 @@ class WC_Frontend_Scripts {
|
|||
'controlNav' => 'thumbnails',
|
||||
'slideshow' => false,
|
||||
'animationSpeed' => 500,
|
||||
'animationLoop' => false, // Breaks photoswipe pagination if true.
|
||||
) ),
|
||||
);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue