Jquery error on Product Page - by anthonykoo

This topic has 2 replies, 2 voices, and was last updated 8 years, 5 months ago ago by Olga Barlow

  • Avatar: anthonykoo
    anthonykoo
    Participant
    July 23, 2016 at 02:25

    The Product page shows a partial LOADING Forever (under the Price)

    The WOOCOMMERCE engineer reported the following, and suggest me to seek help from the THEME developer.

    Product Page has some jQuery that is throwing an error:

    (index):776 Uncaught TypeError: Cannot read property ‘reinit’ of undefined

    Looking at your page, this is caused by this script:

    <script type=”text/javascript”>
    (function() {
    var options = {
    items:5,
    autoPlay: false,
    pagination: true,
    navigation: true,
    navigationText:false,
    rewindNav: false,
    itemsCustom: [[0, 2], [479, 2], [619, 2], [768, 3], [1200, 4], [1600, 4]]
    };

    jQuery(“.slider-8336 .productCarousel”).owlCarousel(options);

    var owl = jQuery(“.slider-8336 .productCarousel”).data(“owlCarousel”);

    jQuery( window ).bind( “vc_js”, function() {
    owl.reinit(options);
    } );
    })();
    </script>

    It looks like this is coming from the theme adding a carousel. This is what is causing jQuery to break on that page and the Loading to never complete.

    1 Answer
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    July 23, 2016 at 08:04

    Hello,

    Your problem was related to incorrect Cache Minify settings. Check now, please.

    Regards

  • Viewing 2 results - 1 through 2 (of 2 total)

The issue related to '‘jquery error on Product Page’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.