Home Forums Basel support forum Bug with images product Reply To: Bug with images product

#14572

Artem Temos
Keymaster

Hello,

Yes, we are aware of this issue. We will fix it in our next theme update.

You can fix it yourself, replacing the code in the js/functions.js file

                    $('.product-images').imagesLoaded(function() {

                        $('.woocommerce-product-gallery__wrapper').addClass('owl-carousel').owlCarousel({
                            rtl: $('body').hasClass('rtl'),
                            items: 1,
                            autoplay: false,
                            dots: false,
                            nav: false,
                            autoHeight: ( basel_settings.product_slider_auto_height == 'yes' ),
                            navText:false,
                            loop: false,
                            onRefreshed: function() {
                                $(window).resize();
                            }
                        });

                    });

with this one



                        $('.woocommerce-product-gallery__wrapper').addClass('owl-carousel').owlCarousel({
                            rtl: $('body').hasClass('rtl'),
                            items: 1,
                            autoplay: false,
                            dots: false,
                            nav: false,
                            autoHeight: ( basel_settings.product_slider_auto_height == 'yes' ),
                            navText:false,
                            loop: false,
                            onRefreshed: function() {
                                $(window).resize();
                            }
                        });

You need to disable JS minification in Theme Settings -> Performance also.

Regards