Shop Page Widget Sort Category Order
-
How do I sort the categories? I see in the shop page widget I have the option to select by Name or Category Order but how do I change the category order to show the categories in a customer order?
Also is there a way to exclude certain categories from showing on the shop page completely?
Hello,
In the widget settings, please select the option “Category order” under the sorting settings.
Then, you can change the display order of categories directly from your WordPress dashboard by going to:
Products > Categories, and dragging and dropping the categories into your preferred order.
Here’s a short video guide for reference: https://youtu.be/ZX9dJhEtw5k
If you’d like to hide specific categories from the shop page, it can be done using a small CSS snippet.
Just let me know which category you’d like to hide, and I’ll check and provide you with the exact CSS code.
Best Regards,
Thank you. I would like to hide all the categories that are sub-categories under “x external categories/Providers” at the bottom of the shop page and also including the main category x external categories/Providers hidden. https://marketandmorecr.com/shop/
If you can teach me how to do this then I can hide future categories as well without having to bother you.
Hello,
You can hide the subcategories under “x external categories / Providers” with a simple CSS rule.
Please go to Theme Settings > Custom CSS and add this code:
/* Hide specific subcategories under Providers */
.widget .product-categories .cat-item-186,
.widget .product-categories .cat-item-192,
.widget .product-categories .cat-item-302 {
display: none !important;
}
This will hide only those specific subcategories from the sidebar or filter widget.
If you want to hide more, you just need to find their category IDs (like cat-item-XXX) from product > Categories > Hover on the category title and see the id and add them to the same CSS list.
Best Regards,