Category Id's

July 17, 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
July 17, 2024 08:21:46
E2Pdf
Topics: 7
Messages: 3621
Support
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!
Get News and Updates
Our monthly newsletter keeps you in the loop, so you'll always be up to date with the latest news and updates about E2Pdf.
* You can update your email subscription preferences here.
All trademarks, service marks, trade names, product names, and logos appearing on this website are the property of their respective owners. The use of trademarks such as Formidable Forms®, Forminator Forms®, Gravity Forms®, JetFormBuilder®, WordPress®, WooCommerce®, WPForms® and others is solely for identification purposes (nominative use) and does not imply any affiliation, sponsorship, or endorsement by the respective trademark holders.
© 2017 - 2026, https://e2pdf.com

We use cookies to collect and analyse information on site performance and usage, to provide social media features and to enhance and customise content and advertisements. By clicking "Accept Selected", you consent to use of selected cookies according to our Cookie Policy.