event.ShippingRate|default:'' = 'Standard Shipping (with Tracking)'
^^ this works fine so far for showing an image in the conditional logic.
I want to include an OR statement to also include ‘Standard Shipping (with Tracking) - Free Activated’
I’ve tried a number of combinations and can’t get this to work
Can someone please help?
Solved
Image hide/show logic with OR statement

Best answer by chloe.strange
Hi
Apologies for the delay here. Have you referenced this Help Article? It should help get you down the right path. I would first recommend that you double check the event variables by following the steps below:
- From the template editor, click Preview and Test
- Under Preview data source, click Event
- From the dropdown menu, select the event that will trigger the message you’re building
- Scroll through the Event properties to find the property you’d like to include
- Click the property name to copy the variable
- Paste the variable into a text block or text editor
- Remove the curly brackets (i.e., {{ and }}) from around the variable, as well as any filters
- Use the variable that remains in your show/hide condition
Let me know if other questions come up!
~Chloe
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.