Support » Plugin: Advanced WooCommerce Product Gallery Slider » Breaks the stock display & error in Console

  • Hi, I installed this plugin and it looked great, but it broke the stock feature in WooCommerce itself. When you select a variation, if this plugin is active then the stock message fails to appear (e.g. ‘Out of stock’). If you disable the plugin, then the stock text appears again.

    When the plugin is active, there’s an error in the Console:

    wpgis.front.js?ver=1.0:107 Uncaught TypeError: $ is not a function
        at HTMLDocument.<anonymous> (wpgis.front.js?ver=1.0:107)
        at i (jquery.js?ver=1.12.4-wp:2)
        at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
        at Function.ready (jquery.js?ver=1.12.4-wp:2)
        at HTMLDocument.J (jquery.js?ver=1.12.4-wp:2)

    Thanks

Viewing 1 replies (of 1 total)
  • Hi @barn2media ,

    I faced also this issue, and succeed to resolve it changing the $(“.btn-prev, .btn-next”) with jQuery(“.btn-prev, .btn-next”) in lines 107 and 111

    Hope it can help, and hope it will be updated in the next version

    Best
    Guillaume

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.