50 product limit

Shopify Partner
8 0 0

Does anyone know about or how to get around the 50 product query limit in shopify? Or better yet, why there is a 50 product query limit ? Does that seem small to anyone else ?

We wanted to build a smart tag system that would let the customer manually configure a related products by using tags. So we told them we could build it so it would compage a key word. IE: They could tag a product related-blue and it would pull up all the products with the tag blue. However since they have 300 products it only finds the first 50 which sometimes only brings up 1 or 2 related items.

We are looking at using the shopify API externally and creating a Json to pull all the products but that seems like a crazy way just query a local db.

Thanks

J

0 Likes
Shopify Expert
9778 86 1524

If you wanted to loop through all the products you can just use JavaScript to grab the other pages via pagination. Parse the returned content as required. Though I'd just tap into the storefront search via js and get it to return those tagged items directly.

You can also grab 1000 items at once if you are not using a layout (aka, returning json data).

★ Winning Partner of the Build a Business competition. ★ http://freakdesign.com.au
0 Likes
Shopify Partner
8 0 0

Hey Jason,

Hmmmm, I didn't think about using the search. I'll give that a try -- that might be the cleanest and easiest solution.

Thanks for the help.

Cheers

J

0 Likes
Shopify Expert
465 0 35

You could also use a combination of the filter model, and pagination and infinite loop

http://www.californiawatercolor.com/collections/california-watercolors (an example of the filtering model of a collection). then add the infinite loop so it is only "loading" 50 products but the user scrolls through everything that is blue on one page

Trevor www.carlowseo.com
0 Likes