Forum Discussion
ueda_1220
6 months agoActive Member
How to use selections in webhook
Hello, everyone. Could you tell me how to use selections in webhook if you know that? I want to assign the return value of a selection to a variable. I have listed the following LIQUID, but it doe...
inespais
Practitioner II
Hey ueda_1220, the code structure Manoj__ shared looks correct. I think what you're missing is the Selection part after the catalog name - I set up a dummy one below (see bold):
{% catalog_selection_items IP_Test Selection1 %}
{% assign tmp = items[0].item1 %}
{{tmp}} --> returns expected value
When you're adding Personalization you can choose Selection from the drop-down:
ueda_1220
5 months agoActive Member
Thank you for responsing.
I checked that and you are right.
Related Content
- 2 months ago
- 6 months ago
- 10 months ago
- 9 months ago