Home › Forums › WoodMart support forum › Shop Filter
Shop Filter
- This topic has 7 replies, 3 voices, and was last updated 11 hours, 31 minutes ago by
Rahmat Anik.
-
AuthorPosts
-
November 29, 2024 at 4:42 pm #617741
Rahmat AnikParticipantHello, I’ve two questions.
1. I want to show only physical products on the shop page, as we’re providing repairing service as well. But we don’t want to show repairing services to the shop page.
Is there a way we can disable showing repairing services on the shop by category filtering? https://prnt.sc/AbguOdGQmNuW2. How to remove the Repair from the category menu in shop? https://prnt.sc/mscjBTsiXFuE
I want only Accessories to show as for repairing we have a different page.
Thanks
November 30, 2024 at 11:04 am #617949
Aizaz Imtiaz AwanKeymasterHello,
1. Please read the following article for help:
https://woocommerce.com/document/exclude-a-category-from-the-shop-page/2. Please share the page URL so I will give you the custom CSS code to hide the Repair category from the sidebar.
Best Regards.
November 30, 2024 at 1:18 pm #617973
Rahmat AnikParticipantI’ve added the admin access to the private chat box. Please send CSS to remove “Repair” category from the shop(all item) page https://prnt.sc/1cTbgQM4LdWm
November 30, 2024 at 7:21 pm #618034
Aizaz Imtiaz AwanKeymasterHello,
Please use the below custom CSS code and paste it to Theme Settings >> Custom CSS >> Global CSS section:
li.cat-item.cat-item-125 { display: none; }
Best Regards.
March 29, 2025 at 9:41 pm #650152
Rahmat AnikParticipantHello, to hide product category from shop page, you send me this code documentation, can I add multiple categories here? by adding comma?
Please tell me how to hide multiple categories from the shop. Thanks
March 30, 2025 at 9:49 pm #650223
Rahmat AnikParticipantHello, Eid mubarak, let me know if there is any update. Thank you
March 31, 2025 at 2:38 pm #650462
Bogdan DonovanKeymasterHello,
Sorry for the delayed response. Yes, you are correct. You can hide multiple categories by listing their classes in the CSS selector. You can find the class of a specific category by inspecting the page using the developer tools built into your browser, as shown in the video: https://monosnap.com/file/WFzwObjv67gHqKmj2mOdkrS6B48A78
Once you have identified the class names of the relevant categories, list them in the CSS selector as demonstrated in the example below:
li.cat-item.cat-item-125, li.cat-item.cat-item-246, li.cat-item.cat-item-141 { display: none; }
Kind Regards
March 31, 2025 at 8:36 pm #650596
Rahmat AnikParticipantHello, good day, I think you haven’t check my screenshot. My query was different.
I want to hide the products from multiple categories from the archive page.Please check the screenshot again: https://prnt.sc/kcxpVV9hb8cZ
This is the link you’ve shared: https://woocommerce.com/document/exclude-a-category-from-the-shop-page/
I want to hide multiple categories
-
AuthorPosts
- You must be logged in to create new topics. Login / Register