In category display type u can choose between (default, products, subcategories, both) options. Is there any way to make an if statement that uses those values?
I would like todo something like the below but i'm having a hard time figuring out how u can check for those values.
Now i have something like the below but that requires me to do this for hundreds of categories
<?php if (is_product_category('979') || is_product_category('979')) then do something ?>
So i'm actually looking for something like the below
<?php if (category is display type ('products')) then do something ?>
So if anyone know a way to filter using display type that would be great.
Thanks in advance