Forum Discussion
Elysha-CT
2 months agoSupporter
Help: Liquid logic, conditional messaging & nested custom attributes.
Hello! I need help understanding where i'm going wrong with my conditional messaging. Is it possible to search and dynamically pull a specific value from a nested profile using Liquid code in a Braz...
harryducket
2 months agoCollaborator
In order to dynamically retrieve the 'Colour' value for a specific company e.g., Company A, you can use a similar loop to iterate through custom_attribute.Profiles. Remember within the loop, check if the company matches 'Company A.
Then reference the associated 'Colour' value. Make sure you are correctly accessing nested attributes like Profiles[n].Colour. Hope you find this one helpful !
Related Content
- 11 months ago