I'm using flexslider.js, but im getting the error when removing the variant for images. Here's the code below of product.liquid of shopify. how to resolve this issue in flexslider?
<script src="//cdn.shopify.com/s/files/1/2149/4693/t/7/assets/jquery-1.11.2.min.js?18364480765274061922" type="text/javascript"></script>
{{ '//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js' | script_tag }}
{{ 'jquery.flexslider.js' | asset_url | script_tag }}
{{ 'jquery.flexslider-min.js' | asset_url | script_tag }}
<script>
$(window).load(function() {
$('#carousel').flexslider({
animation: "slide",
controlNav: false,
animationLoop: false,
slideshow: false,
itemWidth: 130,
itemMargin: 5,
item:3,
asNavFor: '#slider'
});
$('#slider').flexslider({
animation: "slide",
controlNav: false,
animationLoop: false,
slideshow: false,
sync: "#carousel"
});
});
</script>