Can I find which collections the product is in, according to the product ID?
Query Data Collection Collections after product _id and you will find it
Andreas, Thanks for your reply.
Unfortunately, I didn't figure out how to do it,
Can you show me an example code?
Hello @Binyamin Meron again!
Did you find a way to do this?
My objective is to get all wix stores collections from a list of products, but I found that's not possible to access to the 'collections.id' field (here) from the product item in Stores/Products. You can only use the 'collections.id' together with wix-data for queries or filters.
Therefore, you need to always perform one separate query to the database in order to see whether there exists that product with a previously known collection id.
It would really help to have access (just read-only as all the other fields) to the 'collections.id' field from the product item itself.
Anyone that could help on this? Or tell if it will be possible in a short term to have access to the 'collections.id' field in Corvid?
#corvid #wixcode #wixstores #stores #products #collections #database #query #field #filter
have you find a solution to your problem when 10 Apr ? which about connect your Grid product page with your collections using Stores/Collection dataset dynamic page