No content to show
User Activity
Hello, I am experiencing something weird in the app. There was an order but there wasn't any shipping info. What might cause this?
10-17-2022
I want to be able to query all the lineItems in an order. How would I be able to do it? I currently have first: 10, but what if it exceeds more than 10 lineItems?{% action "shopify" %}
mutation {
orderEditBegin(id: "{{ order.admin_graphql_a...
Thanks @PaulNewton. I used arrays for storing the values I got using assign instead of capture. I'll also check the slack community out.
I believe this is syntactically correct:{% comment %}
pseudocode:
for line_item in order.line_items:
if line_item.sku exists:
products_and_quantities = split line_item.sku with '+'
for product_and_quantity in products_and_quan...
ah. I just read the docs on capture. Will update the code, thanks for pointing that out. That was not what I intended. I thought how capture worked is it assigns the result of the previous line to the variable in the next line inside the capture tag
10-12-2022
I'm new to Liquid and I'm trying to create a Mechanic script in Shopify to loop through all my orders and check each SKU. This is what I came up with: {% for line_item in order.line_items %}
{% if line_item.sku %}
{{ line_item.sku }}
...