How to determine which field to show from an array
Hi,
We want to show the loyalty card number in e-mails to our customers. You can have multiple loyalty card numbers, so it is an array.
We want to show the loyalty card number that starts with 2616. How can I do that?
{{profile._company.LoyaltyCards.LoyaltyCardNumber}}
If I make an each and then add the field, it will show every loyalty card number, but I only want to show the one that starts with 2616.