We need to check customer orders history on thank you page hence added some custom scripts under "Settings -> Checkout -> Additional Scripts"
Using "customer.orders" object we get recent 20 orders of customer by default. How can we get list of all previous orders for customer? This is required to separate customers.
We have tried "Paginate" but it throws "Liquid File error".
Hey Anil, if you're still having trouble with this, our company Soul Theory can look into it for you. We build custom apps and scripts for Shopify on a daily basis. Feel free to email me at email@example.com and we can set up a time to chat.