-
Notifications
You must be signed in to change notification settings - Fork 2.1k
How to seperate products per store view? #2479
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi there! Please let us know how are You importing the products - I mean the config? Mage2vuestorefront should set proper storeView and get only the products from that one. You might also want to test our new indexer: https://github.com/DivanteLtd/magento2-vsbridge-indexer |
Thanks! I have been experimenting a bit with it but haven't solved it. I did install the magento2-vsbridge-indexer for my magento 2.3 but there are some issues that I wasn't aware of, therefore I posted in your repo about how to purge it completely from my magento (which I haven't checked if there's an answer yet due to other work). Since default store on Magento has ID 1, I set the ID config in mage2vs/src/config.js to 2 for logima, which is the first store I created. I guessed and saw that it was the #2 store. Dying to just filter the searcht thingy. After that is solved, everything is perfect! The config is for one storefront that is still under development. But should be relevant to the question in hand. My Mage2vs config
My API config
Finally my storefront config
|
I believe this issue is related to |
Many thanks! |
Hi!
Currently I have setup 3 storeview on 1 magento instance. These stores are different niches (like drones, elscooters, fashion etc).
Currently, each store is importing each respective categories and products for those categories.
However, when you search for a specific product belonging to Store A, you will find those products in store B when you search for it.
I have different catalog indexes for it, it does work but the only thing is, when you are on the store where clothes are sold, you can search for elscooters and these products will show up.
I want to make sure that not a trace of any products belonging to other storeviews shows up in search at all, for those stores that doesn't sell the specific products.
The strange thing is, I have setup the products to each respective storeview and each respective storeview category on magento, when on the other hand I have installed the Snowdog API module for CMS pages, and when I import these CMS pages from magento, each storefront are indexing each page by its identifier fine, so with the CMS pages I am not getting pages from Store A in Store B!
So my only problem is, I don't want products from other storeviews to show up in each others searches. Store A must have Store A's products and categories from Magento, not to show up in Store B's search.
How can I solve this?
I appreciate any help here :)
The text was updated successfully, but these errors were encountered: