• Resolved cmsnext

    (@cmsnext)


    I am using WordPress 4.6.1 with Woocommerce 2.6.4. I am having a weird issue with the Woocommerce Price Filter Widget. The filter slider works only if i deregister the jquery-cookie script. If i rename or try to add the jquery-cookie file then the slider stops working and only 2 input boxes show up. I searched the forum and online and even tried the cookie fix but nothing works. The only way it works is if I deregister the cookie script. But I need the cookie script for other functionalities so is there a way I can use jquery-cookie and even have the slider work?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • D Smith a11n

    (@dsmithweb)

    Automattic Happiness Engineer

    Hey buddy!

    This sounds like a straight-up code conflict, unfortunately. Your options are to either choose between whatever you’re using jquery-cookie for and Price Filter, or dig deep enough to sort out exactly where the conflict is taking place.

    If you look at an affected page using Developer Mode (available for instance in Chrome or Firefox) you should be able to at least begin to sort out just where and how the conflict is occurring, which is the first step to trying to resolve it.

    Thread Starter cmsnext

    (@cmsnext)

    @dsmithweb Thanks. The issue is there is no conflict which shows up in the Developer Mode I already checked that. But if I remove jQuery Cookie the woocommerce price filter works but i get a jquery error at this point >

    TypeError: jQuery.cookie is not a function
    jQuery.cookie ('woocommerce_cart_hash'

    which is quite understandable because jQuery cookie is no longer present.

    With jQuery cookie registered I am not able to get the Woocommerce Price Filter work as no errors are generated (i even kept wp debug true to see if any other errors were generated) and cant find any errors being generated!

    Thread Starter cmsnext

    (@cmsnext)

    Not sure what the issue was but I created a fresh installation and removed all plugins and changed the theme and now this issue no longer occurs. may be some plugin or theme file was causing this issue. Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Woocommerce Price Filter Widget’ is closed to new replies.