PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

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

category filter - open all sub categories

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.

Hello,

I have 4 level products categories
I use the category filter.
At first the filter display the 1st level - and it is fine
When I open to view the sub level - I getys all the sub levels (all 4  sub levels)
Whail what was expected is to get the the 2nd level only

 

Hello

I'm not sure I understood you

Describe in more detail what I have to do to get the error

Here is the an exapmle of categories structue:

  • colors (level 1)
    • basic colors (level 2)
      • yello (level 3)
      • red (level 3)
      • blue (level 3)
    • soft colors (level 2)
      • blue sky (level 3)
      • pink (level 3)
  • Animals
    • farm animal
      • cow
      • sheep
    • wilde animals
      • birds
        • bird1
        • bird 2
      • cats
        • cat1
        • cat2
      • birds
        

When I open the shop page with category filter I get:

  • colors
  • Animals

and this if good - having the firs level

now  > click on animals

I see all the sub categoeis display .
like this:

  • Colors
  •  Animals
    • farm animal
      • cow
      • sheep
    • wilde animals
      • birds
        • bird1
        • bird 2
      • cats
        • cat1
        • cat2
      • birds

WHat I want to see is only the 2nd leve display like this:

  • Colors
  •  Animals
    • farm animal
    • wilde animals


Hello

Ok!  My  test - https://c2n.me/4blTX9U

The plugin has the function of remembering the state of subcategories( Remembers which items were open )

Thank you for checking..

The problem accrues when I click on the checkbox
all the sub-categories and sibling and siblings' sub-categories - opens...

 

https://www.screencast.com/t/RBQiiftXjv

 

Hello

Yes!  I  got  it

Can you  drop  me  wp-admin+FTP access - https://c2n.me/43SC6rb.png ->https://c2n.me/42BAoj4.png

Send you wp-admin access
The web site is in HEBREW it is RTL admin

and FTP user

notice the site is online!!

 

Hello

Please  do  a test

Thank you!
It works fine

Have to ask you if the fix was settings only or code ?

Hello,
I test the results..
the last category - has no products but it is show
I  want to display only categories with products
https://www.screencast.com/t/aSDbHnjHPQjK

Mickey

Hello Mickey

Please  check  options - https://c2n.me/4bAc5g3.png

 if the fix was settings only or code ? - In  file  wp-content\plugins\woocommerce-products-filter\js\front.js - added  code - https://c2n.me/4bAceCz.png

return false;

So, when I'll do update for the plugin..
the code will be overwrite?
How do I handle an upgrage in the future?

Hello

Read  this  - https://www.geeksforgeeks.org/how-to-override-a-javascript-function/

Paste  new  function  on  footer