Hello everyone,
I want to know if it is possible to include one liquid variable into another liquid variable.
I came across that idea to find a faster solution passing the {{ user.id }} to retrieve the full contact information from the contact entity.
The code I tried to use:
{%assign exampleUserId = xyz-123-xyz-123 %}
{% assign textsingle = entities.contact[' + exampleUserId + '] %}
The way "+ exampleUserId +" is not working.
In the end I would like to have a working solution for that line:
{% assign textsingle = entities.contact[' {{ user.id }} '] %}
I could not find anything to pass a liquid variable into another one. Anybody knows how that can work?