Hi, I’m building a booking website and there’s 2 ways in which a user can make a reservation: 1. website, 2. email, so I created a link element for each booking option and would like to hide whichever reservation method is not being used–but i’m having trouble doing this.
For example, there’s 2 link elements on the page, and I’ve created conditions for each to show/not show based off what’s inputted into the data field.
Data type’s backend, which is what’s used in my conditions:
Conditions of each link:
-
Website (ignore 2nd condition in this pic)
-
Email
I thought the settings of my conditions were correct, but the element cannot seem to read the “@” character that’s stored within a store’s email address. For example, this store accepts reservations via email (ron@gmail.com), but the ‘Book with Website’ link still shows. I need only the ‘Book with Email’ link to show.
Backend:
Frontend:
All help would be greatly appreciated, thanks!