WC Single condition: product in category

Hi there,

I was wondering if it’s possible to make multiple WC Single layouts based on if a product is in a specific category.

I have one default WC Single layout with the condition set to All products. I would like to override the default layout with specific layouts using a higher priority in combination with the condition Product Category set to a specific category. That doesn’t seem to work.

Any way to make this work?

Many thanks!

Hi @Dagaloni,

Thanks for reaching out.
You can add the Assignment condition to check if that product is from that category or not. Please find the following screenshot describing the condition.

Hope it helps.
Thanks

Hi @tristup, many thanks for the confirmation. I went back and figured out what went wrong. I’ve added products to a category and all its parent categories. It should have been added to only the child category. Thanks for the quick responds!

You are most welcome @Dagaloni.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.