No content to show
User Activity
07-29-2021
Thanks! I didn't know about handles. Also yes, it did turn out that using a variable as the property name does work if the variable is assigned to the handle like{% for product in collections[fruit].products %}etc
My IDE (IntelliJ) doesn't play nice with the graphQL template strings in the node shopify app I'm working on. I think it's because I need a local copy of the GraphQL schema? Is there a way to store a local copy? I tried doing the following as suggest...
07-28-2021
Is there a way to access a property by variable like so (assuming I had collections named orange apple and peach)? {% assign fruits = "orange,apple,peach" | split: ',' %}
{% for fruit in fruits %} {% for product in collections[fruit] %}
{{ produ...