PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]
Botoscope is currently in early access

Support Forum

You need to log-in to create request (topic) to the support

Husky Filter Blocks Auto-Opening and Category Redirect Issues on WoodMart Theme

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.
Support notice: Our support team will be on vacation from August 8 to September 3, so response times may be delayed and replies may be irregular.

Hello,

I am using HUSKY PRO on a WooCommerce site with the WoodMart theme and WPBakery Page Builder. I am facing two critical issues that break our B2B user experience:

1. Toggle State Issue (Auto-opening blocks): I want my product attributes (e.g., Bore Diameter, Outer Diameter) to be initially collapsed/closed as an Accordion when the category page loads. Even though I have set the option to"Show as closed", the filter blocks visually blink and then automatically force-open immediately after the page finishes loading.

2. Redirect Issue: When a user is inside a specific product category page (e.g., /product-category/bearing/) and clicks on any filter attribute, the plugin redirects them back to the main Shop page instead of filtering dynamically or staying within the current category archive. I am using the shortcode: [woof redirect="" autosubmit=1 taxonomies=product_cat].

Could you please assist me with a fix or a custom hook to ensure the blocks stay closed on page load and that filtering doesn't break the category context?

Thank you in advance!

Lazaros

Hello Lazaros,

Thanks for the details and for sharing access. Two updates from my side before we continue:

First, the login credentials you placed in the private area do not work on my end. Please double-check them and update the private section so I can actually log in and look at the site directly.

Second, please update HUSKY to the latest build. I have placed the download link in the private area of this ticket. This is a fresh build that is not yet published on CodeCanyon and it contains several fixes related to WoodMart and to AJAX context handling that may already resolve part of what you are seeing. Start from the update before anything else.

Now to the analysis based on the URL you are filtering on (https://www.yoursite.gr/product-category/gearbox/?swoof=1&pa_gearbox-ratio=1031&really_curr_tax=471-product_cat):

  1. Auto-opening filter blocks on WoodMart.

This is a known conflict between WoodMart and HUSKY. WoodMart ships its own JavaScript for handling sidebar widgets — it applies its own collapse/accordion logic and re-initializes widget state after the page finishes loading. HUSKY correctly renders the block as closed, then WoodMart's script runs later and forces it open. That is exactly the"blink then open" effect.

Try this on your side: in WoodMart theme settings, look for an option related to widget collapse or sidebar widget behavior (the exact wording varies between WoodMart versions, usually under Shop or Sidebar section). Disabling WoodMart's own widget collapse normally resolves this without custom code. If it does not, I will need access to inspect the actual markup WoodMart wraps around HUSKY blocks and add a targeted CSS or JS fix.

  1. Redirect and empty results when filtering.

Looking at the URL above I can see two layered problems.

The first is the shortcode. You are using [woof redirect="" autosubmit=1 taxonomies=product_cat]. The taxonomies=product_cat parameter tells HUSKY to treat product_cat as a filterable taxonomy, which is the opposite of"stay inside the current category". Remove that parameter. If the filter is placed on a custom WPBakery page rather than the native category archive, also remember that HUSKY relies on the WooCommerce main query to detect the current category — on a custom builder page that context can be lost. The cleanest setup is to use HUSKY on the native category archive (widget in sidebar) so the context is picked up automatically.

The second is at WooCommerce level. Your Shop page and category archives are configured to display subcategories instead of products by default. As long as no filter is active, that is fine. But when WOOF starts filtering, WooCommerce still tries to show subcategories, and the filtered product list ends up either empty or redirected. The fix is to tell WooCommerce:"when a WOOF filter is running, switch to showing products". This is done with the snippet below. Add it to your child theme functions.php or a custom snippets plugin:

// Show products instead of categories when HUSKY filter is active
add_filter('option_woocommerce_shop_page_display', function($value) {
    if (function_exists('is_woof_search_going') AND is_woof_search_going()) {
        return '';
    }
    return $value;
});

add_filter('option_woocommerce_category_archive_display', function($value) {
    if (function_exists('is_woof_search_going') AND is_woof_search_going()) {
        return '';
    }
    return $value;
});

 

It uses HUSKY's built-in is_woof_search_going() helper to detect when a filter is active and overrides the display setting on the fly only for filtered requests. Normal browsing of category pages keeps showing subcategories as before.

So to move forward please do the following:

— Install the latest build from the link in the private area — Update the access credentials in the private area (the current ones do not work) — Remove taxonomies=product_cat from the shortcode — Try disabling WoodMart's widget collapse option — Add the snippet above to your child theme

Once the new access works I will log in, configure everything end to end, and confirm both the toggle state and the filtering behavior on the gearbox category.