Home Forums WoodMart support forum Theme Sort order dropdown causing a conflict with Yith Filters

Theme Sort order dropdown causing a conflict with Yith Filters

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #310549

    S.G.
    Participant

    Hi,

    We’ve been in touch with Yith regarding a bug where changing the sort order using the theme’s dropdown causes the Yith ‘clear’ buttons of any applied filters to become unresponsive.

    After investigating, they’ve asked us to ask you if the theme triggers a js event after the Sort By load the filtered content, and to provide any details they might need so that they can re-init the Active Filter label.

    The site details are below (private content)

    To reproduce:
    1. Apply a filter (e.g. a brand)
    2. Change sort order
    3. Observe that applied filter’s clear button and the ‘Reset Filters’ CTAs above the products are unresponsive.
    4. Once the page is refreshed they start working again.

    Hope you can help.

    Kind regards,
    Shira

    #310589

    Artem Temos
    Keymaster

    Hello,

    Here is an example JS snippet with the event that can be used to fix this issue

    jQuery(document).on('pjax:complete', function() {
    	 // Custom code.
    });

    Kind Regards

    #310644

    S.G.
    Participant

    Thank you, Artem. I’ve passed it on. I’ll update if there are any additional questions.

    #310748

    Artem Temos
    Keymaster

    You are welcome. Let me know if you have any further questions.

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)