My app displays all products in a collection with the option select box or quickview. The purpose is for building custom bundles, e.g select any 3 variants in a collection on a page
I’ve been studying the doc - Support high-variant products. But it cannot support my use case.
- The
{{ product.variants }}
liquid tag can only show the first 250 variants. However I want to display all of the 2048 variants. I render the option box and quickview on the client side with the variant data. But I have no way to render the remaining variants with liquid. How can I render the remaining variants on the client side? - From another thread, looks like I can raise the page size to get all variants. But the doc doesn’t reflect the same.
- The Granular option value selection for product URLs returns the HTML with the selected options. I can’t get the selected variant with JSON. This method is only good for ordinary PDP. Initially, I thought it could be used to get a variant data with the selected option value IDs. Can I get the selected variant in JSON?
- From the Support high-variant products - option value availability, it asks me to use the section rendering API. I use a client-side js framework to render the variants and the option select boxes. This section rendering API is not a prerequisite for the theme app extension if I don’t remember it wrong. And many app developers are using the same methodology as mine.
- Can this Support high-variant products doc handle the case for more product options like 4, 5, or even more? Currently, we only have 3 options. I don’t know when and how we should handle this case? Are we going to have another upgrade for product options again?
- There is an API endpoint something like - https://mystore.com/collections/pants/products.json?limit=50&page=1. This endpoint returns the products in a collection but the response doesn’t have the variants_count in each product. How many variants can be returned in a product?