Home › Forums › WoodMart support forum › Category Product Filter
Category Product Filter
- This topic has 3 replies, 2 voices, and was last updated 4 years, 3 months ago by Aizaz Imtiaz Awan.
-
AuthorPosts
-
January 8, 2020 at 1:00 pm #166914
geonolisParticipantI use the TOYS Demo Version.
1. Category Product Filter
I want to add a Category Product Filter at the Shop Widget Area (left sidebar). I tried to add an HTML Block with the Product Filter element but it doesn’t work well with the other filter widgets I have at the Shop Widget Area.
I have also tried the Woocommerce Product Categories widget but it resets all the filters when clicked.2. Hide product count on list
I want to use Woodmart Layered Nav filter, display type:list and Show labels:on but I don’t want to show product count.Can you help?
Thank you.January 8, 2020 at 3:01 pm #166944
Aizaz Imtiaz AwanKeymasterHello,
1) Yes Woocommerce Product Categories filter works in this way that it refreshes the other filters value because it opens a new category. You can use our theme filter element and add the “Filter Categories” inside it and then use that HTML short code inside the “Shop page widget area” to display it in your sidebar. But it also works in the same way as the default Woocommerce product categories filter works. Because the categories comes first and then the attributes filters can be applied inside a specific category,
Screenshot for clarification: https://jmp.sh/DGTbi7K
2) If you want to hide product count from filters go to Dashboard >> Appearance >> Widgets >> Woodmart Woocommerce Layered Navigation >> Show Labels >> Turn OFF.
Screenshot : https://jumpshare.com/v/yMCd5D839006aZp2J16gBest Regards.
January 8, 2020 at 9:19 pm #167020
geonolisParticipant1)No, the theme filter element with “Filter Categories” on your demo https://woodmart.xtemos.com/product-category/clocks/demo/travel/?demo=travel&filter_brand=magisso&query_type_brand=or&min_price=5&max_price=6020 does not reset the other filters. I just want to have this functionality at the sidebar. Can you make a category filter widget working like the category filter element ? Can you propose something else?
2)If I set the “Show labels” option to “OFF” then the labels are hidden together with the product count. But I want to keep the labels and hide only the product count. I finally managed to do it adding:
.woodmart-woocommerce-layered-nav .count { visibility: hidden; }
It would be nice though to have such an option at the widget.
Thank you.January 9, 2020 at 6:47 am #167069
Aizaz Imtiaz AwanKeymasterHello,
1) Yes the product category filters does not reset the other filters if they added by Wp-Bakery HTML BLOCKS inside the category description or in the shop page description area.
For the sidebar this functionality is not available because the category filter widget and category filter element are two different things. You can check the below screenshots:
https://jmp.sh/nYkM3pI
https://jmp.sh/kNOcDdtResult: https://jmp.sh/NvGpxh3
So you must have to use the html block inside the shop page or inside the description of categories from Products >> Categories.
2) I’m glad that you achieve what you want. Appreciating your suggestion we will try to consider it.
Best Regards.
-
AuthorPosts
Tagged: product filter
- You must be logged in to create new topics. Login / Register