Tell us what you are trying to do?
- Need to show the filter only if has a products
Is there any documentation that you are following?
- just a default process on how to create view
Is there a similar example that we can see?
- Yes, hidden link
- This sample have the same view and currently using view shortcode to display
- Using this shortcodes
[wpv-form-view name="product-listing-by-application" wpvapplication="wet-areas" target_id="self"]
[wpv-view name="product-listing-by-application" wpvapplication="wet-areas" view_display="layout"]
- However, this page hidden link doesn't display the filter but it has products
- hidden link
What is the link to your site?
- This website hidden link
Hello. Thank you for contacting the Toolset support.
I see that you are talking about the filter you added to left panel that is not shown with the following link:
=> hidden link
but the filters added to left panel does display with the following link:
=> hidden link
I require to review the setup and for that I will require access details.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
I checked and I found that the filter is available if you will check the page source but it remains the hidden as filter div contains the display:none; CSS.
I'm not sure how you added those filters as I can see you added some panels and you must be using the custom JS to implement that panels.
Can you please try to find a way to remove display:none from your filter divs and that would help you to display the filters on left panel, as said the filters are available on page but due to some JS conflict the filter divs are remain hidden.
Ok, I already disabled the custom js that filter hide if the type is empty. You should be able to see the label now, however, the issue now is the missing data. see this screenshot hidden link
with the view you created:
=> hidden link
I've set the option "Always show all values for inputs" for "Custom Search Settings".
It seems due to complex filters you setup with your view and some custom JS is also involved the option "Show only available options for each input" is not working as expected and the filters are not displayed with its associated options as expected.
Then I will require the duplicator copy of your site that will allow me to install your site locally and will try to isolate the issue to check whats causing the issue as when we set the "Custom Search" setting to "Show only available options for each input" the related filter options are not displayed on the frontend as expected.
The file you shared to download the copy of your site is too big. The size is 26.1 GB.
I suggest you should remove the images/cache and other files while you create a duplicator package. If you are not sure how to do it, If you agree I will login to your site and try to create a duplicator package.
My apologies for the late reply, but I had several issues while building the copy locally, and I had to deactivate some plugins and patch a line in the child theme to be able to work on it.
The issue was not reproduced on my copy, check this screenshot, only the categories that have posts are displayed in the filters hidden link
So, I get back to your website and the issue seems to be resolved. Check this screenshot hidden link
I wanted to log in to double check the view's settings but the provided credentials are not working anymore.
So, I wonder if you can still see any issue with the filters? So, we can analyze them further.
If the issues are not present anymore, I'll assume that a change has been made on your website, probably related to cache or some server settings.