This topic has 18 replies, 4 voices, and was last updated 3 years, 7 months ago ago by Olga Barlow
Hello, im trying to hide the “uncategorized” item in the search bar
There are 2 hidden products (subscription plans) inside there
Hello Psydelia
Thank you so much for contacting us!
Product category displays the products that added to this category. So, if you chose a few categories for the case product then just edit product and uncheck the Uncategorised category http://prntscr.com/oli23c
If this doesn’t work or you have more questions, just let me know, and I’ll be happy to help!
Robert Hall
Customer Support
“Product category displays the products that added to this category”
Well, the products inside the “uncategorized” category are hidden so it shouldn’t be visible for the users to choose it on the search menu (that’s why when you click on that category and click search you get “no products found”).
If you see the image i attached woocommerce doesn’t show the “uncategorized” which is correct.The theme gets “uncategorized” on the search menu even if it has hidden products.
I don’t want to choose a category on that specific product as it’s a subscription plan which is irrelevant to actual products.
In any case, the search menu should NOT get categories that are empty or have invisible products (as woocomerce categories widget does correctly)
Hello,
Yes, you are right. Provide us with WP Dashboard and FTP access to your site to fix this issue or wait for the next theme update.
Regards
here you go
Hello,
Thank you! I have passed your issue to our developers. I’ll inform you once they fix the problem.
Regards
Hello, the issue was never fixed by developers neither with the theme update
“Hello,
Yes, you are right. Provide us with WP Dashboard and FTP access to your site to fix this issue or wait for the next theme update.
Regards”
Hello,
Sorry for the long delay in answering. It was a more complicated question than we thought.
Credentials are incorrect now. Please provide them one more time, and we will try one more time.
Regards
Hello,
If you do not want to provide access, download search.php from this page – https://dropmefiles.com/iIQRR , and re-upload it into et-core-plugin/app/models/customizer/templates/header/parts folder, via FTP. Clear cache and check how it works.
Regards
Sorry, I wasn’t online for a couple of days, i am adding you the new credentials.
Also please let me know how to hide the prices of the products on the main page (screenshot attached)
Hello,
1) We can’t connect to FTP. Please re-upload search.php file – https://dropmefiles.com/4kr0u as was mentioned, or provide us with correct access.
2) Use the next custom CSS code:
.home .content-product .price {
display: none;
}
Regards
Was able to upload it and cleared the cache but the problem insists. I am attaching FTP access.
Also, something weird happened, when i go to customize the template to add the css code i get this message “The theme directory “light” does not exist.”
Hello,
1) Check the permissions of our FTP user, we can’t edit file https://prnt.sc/11p57u1
2) I see that the default WooCommerce widget https://prnt.sc/11p611l also displays Uncategoried in the list https://prnt.sc/11p64lt even if Hide empty is checked.
So, I think you need to solve this issue with the WooCommerce support team https://wordpress.org/support/plugin/woocommerce/ first and then reply back and we’ll proceed with the search.
3) Do you add the CSS code to child theme style.css? Do you add CSS code after the existing header https://gyazo.com/27a687df58b5f79b07cb3a16dcef480b or instead of this?
Regards
I’ve reset file permission so you can now edit the file
This fixed the problem with the customizer and was able to add the css code
Now for 2)
I’ve created a new category named “Subscription plans” moved all the subscription products there and hide them.
Woocommerce doesn’t show this category while it’s still visible on search categories
Hello,
Ok, thank you. This time FTP works. Passed issue to developers.
Regards
Hello,
We found that if you choose the drop-down type for the product categories it also displays that category. So, we submitted request to WooCommerce https://github.com/woocommerce/woocommerce/issues/29716
At this moment we can hide that category using CSS like temporary solution. What do you think?
Regards
Sure Olga, let me know the CSS code if in the future I need to hide something else.
Hello,
Added the below custom to custom CSS
.et_b_header-search.et_element-top-level select [value="subscription-plans"] {
display: none;
}
It’s not very good solution but it’s a temporary fix till we get the answer from WooCommerce. You can also comment in that topic to speed them up.
Regards
You must be logged in to reply to this topic.Log in/Sign up