Forum Discussion
ueda_1220
7 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...
Manoj__
7 months agoSpecialist II
ueda_1220 I have not tried it
Try if this works for you
{% catalog_selection_master_for_attribute %}
{% assign tmp = items[0].product %}
- ueda_12207 months agoActive Member
Thank you for your answering.
But I'm afraid your code didn't work well..
I further tried modifying the liquid as follows, but it did not work.{% catalog_selection_master_for_attribute %}
{% assign tmp = {{items[0].product}} %}
- ueda_12206 months agoActive Member
There was a mistake in the area of checking.
I double checked and found that it works well with what you have indicated.
Thank you for your response!
Related Content
- 3 months ago
- 7 months ago
- 11 months ago
- 10 months ago