Category Id's

17 July, 2024 08:17:10
Topics: 1
Messages: 1
hi,

I need to show / hide some elements depending on what category the products are in.
When i map the field to category id's i get

a:3:{i:0;i:149;i:1;i:44;i:2;i:67;}

Looks like category 44 i would need form the above.

How can i add something to hide the element or show if the number 44 is present?

Thanks
17 July, 2024 08:21:46
E2Pdf
Support
Topics: 7
Messages: 3345
Hello,

If using "Actions" and "Conditions" fit your needs, then the setup should be as on the attached screenshot:
We would really appreciate your feedback at WordPress.org!