You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can the total product count be added to the collection model or product array so paging can be implemented? When I query the products in a collection with optional parameters for page / limit, I get back the limit number of products without knowing the max total available. I don't know how many pages are available in the collection for me to display it in the front end. Thoughts?
The text was updated successfully, but these errors were encountered:
Hey there! This is a limitation of our API. Pagination in our system is a non-trivial problem. We're working on adding better meta data around paginated sets, but it'll be some time before we're able to expose it through the SDK.
I'm sorry I don't have a better answer at the moment. We know it's a sought after feature, and it is being worked on.
Thanks for your interest, and sorry I couldn't help more!
Can the total product count be added to the collection model or product array so paging can be implemented? When I query the products in a collection with optional parameters for page / limit, I get back the limit number of products without knowing the max total available. I don't know how many pages are available in the collection for me to display it in the front end. Thoughts?
The text was updated successfully, but these errors were encountered: