Woocommerce product image fade
-
I’m having a problem with that the lightbox won’t load in Woocommerce when using a fade in the product images, instead of slide as the animation effect. This is for changing thumbnails, when the lightbox isn’t loaded. When using ‘slide’ the lightbox loads. Maybe there’s something I missed that also needs to be changed. The standard woocommerce lightbox loads, but that is loaded by clicking the magnifier icon, so it loads differently Is it possible to use the fade effect instead of slide with this plugin? This is the code to change to the fade animation.
`function slider_to_fade($params) {
$params[‘animation’] = “fade”;
return $params;
}
add_filter( ‘woocommerce_single_product_carousel_options’, ‘slider_to_fade’);
- The topic ‘Woocommerce product image fade’ is closed to new replies.