Title: Filtering problem sidebar
Last modified: March 14, 2023

---

# Filtering problem sidebar

 *  [vale2122](https://wordpress.org/support/users/vale2122/)
 * (@vale2122)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/filtering-problem-sidebar/)
 * The bug I am facing is that after selecting AUDI A4 B8 2008 2.0 TDI Dizel 130
   kW in the sidebar of the shop page, there is only one category with one product
   that I have assigned, and that’s correct. but after selecting another vehicle,
   RENAULT CLIO II 1998, 1.6 Benzin 55 kW and u search. The make of AUDI stays, 
   and the other dropdowns are empty, and the breadcrumb says AUDI CLIO II 1994 
   1.6 Benzin 55 kW, which is not correct, and there are no products in categories.
 * But if you go to the home page and select the vehicle there, it works every time.
 * using astra theme

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

 *  Plugin Author [Pektsekye](https://wordpress.org/support/users/pektsekye/)
 * (@pektsekye)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/filtering-problem-sidebar/#post-16559648)
 * Hello,
 * >the breadcrumb says AUDI CLIO II 1994 1.6 Benzin 55 kW
 * Maybe you have some full page cache enabled in your wordpress or hosting settings.
   
   So the page is cached and then displayed with and old selected vehicle.
 * Stanislav
 *  [promotoparts](https://wordpress.org/support/users/promotoparts/)
 * (@promotoparts)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/filtering-problem-sidebar/#post-16561533)
 * Hi, Since the wordpress update to the newest one, I have the same problem, I 
   get all the filter options , but when YMM use, there must filtering the search
   options, but that don’t work anymore
   I send also an email to youLet me also know
    -  This reply was modified 3 years, 2 months ago by [promotoparts](https://wordpress.org/support/users/promotoparts/).
 *  Thread Starter [vale2122](https://wordpress.org/support/users/vale2122/)
 * (@vale2122)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/filtering-problem-sidebar/#post-16561839)
 * Hi,
 * I downloaded the fresh plugin with the modification **make model year and engine**.
   And i noticed after adding the modification **specify_category_slug_on_ymm_settings_page**
   the filter still works but after adding the **filter sub categories** the filter
   does not work correctly anymore.I followed these steps as you provided:
 * This modification will filter sub categories on the category page for selected
   Make, Model and Year
 * If customer selects make, model then selects a category and clicks the submit
   button
   it redirects to the category page even if it displays just sub categories(
   no products)
 * It hides products count for sub categories.
 * wp-content/plugins/ymm-search/ymm_ajax.php
   lines 157, 171
 * wp-content/plugins/ymm-search/Controller/Product.php
   lines 28-30, 34-110
 * Thanks in advance
 *  Plugin Author [Pektsekye](https://wordpress.org/support/users/pektsekye/)
 * (@pektsekye)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/filtering-problem-sidebar/#post-16590600)
 * Hello,
 * >to: [@vale2122](https://wordpress.org/support/users/vale2122/)
 * The modifications are for developers.
    Many of them are just examples of how 
   to do it. Without support from my side.
 * Also they can conflict with each other so you should apply only the most important
   for you.
 * Even if I try to help you in such difficult cases when multiple modifications
   are applied you should contact me by email [pektsekye@gmail.com](https://wordpress.org/support/topic/filtering-problem-sidebar/pektsekye@gmail.com?output_format=md)
   
   This forum thread is for the original (not modified) version of the plugin.
 * Stanislav

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

The topic ‘Filtering problem sidebar’ is closed to new replies.

 * ![](https://ps.w.org/ymm-search/assets/icon-256x256.png?rev=1750193)
 * [Year Make Model Search for WooCommerce](https://wordpress.org/plugins/ymm-search/)
 * [Support Threads](https://wordpress.org/support/plugin/ymm-search/)
 * [Active Topics](https://wordpress.org/support/plugin/ymm-search/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ymm-search/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ymm-search/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Pektsekye](https://wordpress.org/support/users/pektsekye/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/filtering-problem-sidebar/#post-16590600)
 * Status: not resolved