L
L
lorab2020-05-12 22:05:52
WordPress
lorab, 2020-05-12 22:05:52

How to hide "category 1" if the user is in "category 2"?

Good afternoon!

Please tell me the plugin to implement the solution:

There are 2 product categories on the site: Category 1 and Category 2 (with subcategories by product type).
If the buyer selects the "Category 1" category, then the "Category 2" category and, accordingly, all its subcategories are not shown.

Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
EvgenyMorozov, 2020-05-13
@lorab

https://wp-kama.ru/function/in_category

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question