Frage

I'm attempting to add some logic in Customer.io, which uses Shopify's Liquid markup language:

{% if customer.Campaigns Participated > 0 %} I also saw that you participated in a campaign, which is awesome!

If you have a second, I'd love it if you could tell me what it was that made you sign up?

{% else %}

I see you haven't had a chance to participate in your first campaign - can I ask what happened?

{% endif %}

The problem is that it doesn't recognize the "Campaigns Participated" property due to the space...

Is there any way I can escape this space or something?

Thank you

War es hilfreich?

Lösung

customer.['Campaigns Participated'] is your only hope.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top