Conditional logic based on "user is/not logged in" [RESOLVED]

I’m creating a product order form. After all product fields I’d like to add a section with some fields asking for name, address, email etc.
However this section is only needed if the buyer/user isn’t logged in. So 'd like to add a conditional logic to the section based on if the user is logged in or not. Unfortunately it seems like the conditional logic only works with available form fields, not with WP meta fields.

Is there a way?

Hi Andre. Try this method:

1 Like

Thanks a lot. Very appreciated. I’ll check it out.

1 Like