Hi,
i need to loop over more than 20 products on my product page.
I have access to the PRODUCT HANDLE and VARIANT ID of each product.
I dont have access to the PRODUCT ID. Keep in mind even a product without variants, has a VARIANT ID.
The problem is, i can’t access the product information via all_products[PRODUCT HANDLE] because this has a limit of 20.
Is there some way to access product data by the VARIANT ID?
A workaround would be something like “collections.all.products | where: ‘id’, PRODUCT ID”
But i dont have access to the PRODUCT ID and this is not working the the VARIANT ID.
So i need to be able to get a product object by VARIANT ID or at least the the PRODUCT ID by VARIANT ID.
Hope that makes sense. Any help is appreciated.