Hi,
So I am creating an email with a custom data feed. Everything works fine, I use a filter on the feed to display information only when the filter matches true. But I want it to do 2 things:
- When it doesn’t match to true, don’t do anything (so also no line breaks)
- When the first match is found, stop the loop
Can anyone help me on this? I am using this formula at the moment:
{% if item.bid_price == "800.00" %}
{{ item.bid_price }}
{% endif %}
Just for some extra background, maybe there is a better way to achieve what we want:
We have a custom datafeed. Within this feed, we need to filter on 2 levels; the brand and the style. E.g. someone buys a chair with style X, we want to filter the feed and present a couch with style X.
Good to know, we use a custom integration and have the following available:
- custom data feeds
- product catalog
Hope anyone can help me with this because I am stuck.