How can I filter customer orders by a specific date range?

Hello,

I’m trying to create a filter for customer orders history.

So basically the customer can choose the range of date of purchase history.

For example: Starting from 2022-01-01 to 2022-03-01

Or filter out customer orders from the last 3 months.

Is this achievable?

I checked the documentation but found no hints about this.

If there is any way to solve this using liquid only it would be great, or if someone can tell me how to access the “customer.orders” object that would also be great.

Any help will be appreciated!

Thanks!

Hi @vinery ,

This is not possible, you can just use the app for it. Refer https://apps.shopify.com/flits or https://apps.shopify.com/search?q=Customer%20Account%20Page

Hope it helps!

1 Like

Just as I thought.

I tried to convert the “customer” and “customer.orders” object to JSON but not possible.

At least if that is possible then I can access it from JS.

Anyway thanks a lot for your reply!

1 Like

Hi @vinery ,

If it helped you solve your issue, please mark it as a solution. Thank you and good luck.