v1.6-v1.7 How to hide sub-category block from category page

madhusudan

Member
XNullUser
Joined
Aug 22, 2022
Messages
31
Reaction score
1
Points
6
NullCash
108
Want your help to hide the sub-categories block from the category page in the classic theme.

This solution is no more available.

Please help 🙏🙏

Regards
 

freiserk

Well-known member
☆☆ Special ☆☆
☆ Pro ☆
Master
Joined
Jan 24, 2019
Messages
3,497
Reaction score
6,557
Points
113
NullCash
33,207
Want your help to hide the sub-categories block from the category page in the classic theme.

This solution is no more available.

Please help 🙏🙏

Regards

Next time put on request section, please.

Thanks.
 

Sillumin

Well-known member
☆ Pro ☆
Master
Diamond
Elite
Joined
Jun 18, 2021
Messages
3,620
Reaction score
764
Points
113
NullCash
6,100
Please post such kind of requests in appropriate part of the forum.
 

vivozivo

Well-known member
Master
Diamond
Elite
Joined
Sep 24, 2019
Messages
1,224
Reaction score
601
Points
113
NullCash
6
First turn off visibility of the subcategories
Then set in faceted search module to show the products (in the main category) from the subcategories
Then create features with same names as categories and subcategories (you will use it in the filter on the left column)
Then assign products from each category and subcategory to the proper feature name.

Hope this help you to solve your problem.
 

madhusudan

Member
XNullUser
Joined
Aug 22, 2022
Messages
31
Reaction score
1
Points
6
NullCash
108
First turn off visibility of the subcategories
Then set in faceted search module to show the products (in the main category) from the subcategories
Then create features with same names as categories and subcategories (you will use it in the filter on the left column)
Then assign products from each category and subcategory to the proper feature name.

Hope this help you to solve your problem.
I found the solution. Just empty the file themes/your-theme/_partials/subcategories.tpl
 

fosilia

Member
XNullUser
Joined
Apr 8, 2020
Messages
499
Reaction score
2
Points
18
NullCash
2
super solution thank you for your good type.
 
Top