You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a product page with multiple variants and would like to iterate on them, and then add those variants if a change was detected on them (text crossed -> uncrossed), (disabled -> enabled) whatever it may be.
Is this something doable, and if it is, how can I dynamically add them to the fields in my json for the notification as I never know in advance how many variants might be in stock for me to iterate over so I can have 1 field, or 5 fields.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have a product page with multiple variants and would like to iterate on them, and then add those variants if a change was detected on them (text crossed -> uncrossed), (disabled -> enabled) whatever it may be.
Is this something doable, and if it is, how can I dynamically add them to the fields in my json for the notification as I never know in advance how many variants might be in stock for me to iterate over so I can have 1 field, or 5 fields.
Thanks in advance !
Beta Was this translation helpful? Give feedback.
All reactions