Conditional within perch:orderitems
I'm trying to create a shop email that only displays an item if the product's e-ticket field checkbox is checked.
So I have
<perch:orderitems> <perch:if exists="eticket"> ...show the record </perch:if> </perch:orderitems>
But when I add the conditional around the output, no items appear in the email even though some of the order items are checked as e-tickets. Should I be able to use a conditional like that in shop's emails?