Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Get all collections for product in Checkout Validation Function Input

Get all collections for product in Checkout Validation Function Input

ArtemFokin
Shopify Partner
19 0 3

Hello, we're trying to use token gate api and it will be much convenient for our merchants to use Collections instead of single products, but to protect collection in the function we should know if product connected to this collection. Now we can use only inCollections or inAnyCollection for products, in the Input step.
But we will receive protected collections list only after input step, in the function body, from product.gates object

It will be convenient to receive all products collections as array(or just ids), and check it in the cycle, probably it won't be a thousands of collections

Replies 0 (0)