I want to show product1 is only to the logged in customers and this product is not visible in STORE view.
Does anyone have a solution for this?
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
First you have to create one attribute to product for its visibility condition.
catalog_product_collection_load_before event to filter the product collection based on user is logged in or not.
take a look at this question for more detail.
probably not best solution but can be helpful to start.