hi,
for example using this code is_product_category( 'optika-microscopes' ) || cat_is_ancestor_of( 653, get_queried_object()->term_id ) || (is_product() && has_term( array('brightfield','stereomicroscopes','Inverted Microscopes','camera digital solutions','Refractometers & Polarimeter'), 'product_cat' ) )
i have to add all my subcategories ( i have a lot of subcategories) and it’s working for the 5 subcategories.
i’m looking for a solution for all subcategories of ‘optika-microscopes’
i hope you can help me
best regards