No I am not trying into the plugin.
I have created product collection content type and it contains vendorid attribute, so based on logged in user need to display list products based on vendorid attribute.
I have return the logic like based based on logged in user I have fetch vendorid from vendor collection type and based on vendorid I want to fetch the products for vendor specific ones.
I am trying into the product.js which is into the model folder of collection type