Hi @danielaromeo,
for this you need to check your frontend configuration. For this you can read this post: Ajax Product filter frontend configuration
After this make sure that your theme don’t change the standard WC_Query. you can solve this issue in this way:
If Ajax Product Filter does not show filters or not show results for attributes / categories / tags if you’re using WooCommerce 2.6.x, please, follow these simple steps:
1. Update the plugin to version 3.0.6 or higher
If you have an active cache plugin, please, do also the following:
2. Go to WooCommerce > System Status > Tools and click on recount terms
3. Empty the cache (if any)
If still the filters do not show up:
4. copy and paste the following code into the functions.php file of your current theme:
add_filter ('yith_wcan_use_wp_the_query_object', '__return_true');
and go through steps 2 and 3 once again.
Another reason that can cause this kind of problem is the register_sidebar of your theme. Many users complain that they do not see the filter or reset the widget list is not updated, the problem in most cases is this:
The problem is in the before_widget arg in register sidebar settings. The correct way to register a sidebar is: ‘before_widget’ => ‘<li id = “% 1 $ s” class = “widget% 2 $ s”>’, with id and class params, like you read in the WordPress Codex . Your theme use only classes and not the id..
Please, look here: https://codex.www.ads-software.com/Function_Reference/register_sidebar
That amends must do the theme developer otherwise the first update will lose all changes.
Let me know if you need more help or you can solve your issue.
Have a nice day
YITH