App reviews, troubleshooting, and recommendations
If customer.lastOrder doesn't return the last order, and a get order data query includes the order that triggered the flow, how do I get the customer's previous order?
I have tried getting the last 2 orders from a get order data query, but I don't know how to skip the first entry, and I have tried editing the query to change "now" to something like "1 hour" but it doesn't work. Here is the query:
customer_id:{{order.customer.legacyResourceId}} AND created_at:>='{{ "now" | date_minus:"1 day" }}'
If I can get the query to return results that skip the last few minutes up to X days, it should work.
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024