I'm attempting to use the Big Cartel Javascript api to retrieve a paginated array of products. Example:
Product.findAll({
category: 'jewelry',
page: 2,
limit: 3
}, function(myProducts) {
console.log("Found " + myProducts.length);
});
Regardless of the parameters the function always returns an array containing every product in the store.
Thanks for your help, Kevin
I've been meaning to contact Big Cartel support on this as I'm having the same problem. If you want a not so pretty workaround you can use the following code. createPortfolio is a separate plugin of mine that I use to create the grid of images.