bangank36 / shopify-order-status-editor

MIT License
0 stars 0 forks source link

🛍️ Shopify Order Status: Mock order data #2

Closed bangank36 closed 1 year ago

bangank36 commented 1 year ago

Summary

// register new Filter
engine.registerFilter("jsonToObject", (json) => JSON.parse(json));
bangank36 commented 1 year ago

Mar 21 2023

bangank36 commented 1 year ago

Mar 22 2023

{% for key in my_array %} {% endfor %}
Key Value
{{ key }} {{ order[key] | json }}


## Un-parsable `order` props
|  Prop | Error | Notes |
|---|------|-------|
|  customer |   `{"error":"json not allowed for this object"} `  |    [docs](https://shopify.dev/docs/api/liquid/objects/customer)   |
|  metafields |   `{"error":"json not allowed for this object"} `  |   [docs](https://shopify.dev/docs/api/liquid/objects/metafield)    |
|  tax_lines |   `{"error":"json not allowed for this object"} `  |   [docs](https://shopify.dev/docs/api/liquid/objects/tax_line)    |
|  transactions |   `{"error":"json not allowed for this object"} `  |  [docs](https://shopify.dev/docs/api/liquid/objects/transaction)     |
bangank36 commented 1 year ago

Mar 22 2023

bangank36 commented 1 year ago

Closed as relevant tickets has been solved. Should add more data into the comments if there are more insights