Skip to content
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

Related products on installation with multi-websites #9

Closed
swnsma opened this issue Mar 3, 2016 · 2 comments
Closed

Related products on installation with multi-websites #9

swnsma opened this issue Mar 3, 2016 · 2 comments

Comments

@swnsma
Copy link

swnsma commented Mar 3, 2016

Hello, I have a problem.
I have Magento 2 installation and use 2 different websites. Some of the products are used in both websites. When I try to open list of products it gives me the error.
Problem that in \Magefan\Blog\Block\Adminhtml\Post\Edit\Tab\RelatedProducts::_prepareCollection it joins websites to product collection, so it gives collection without unique entity_ids (products records are duplicated) and can't works with it.

@magefan
Copy link
Owner

magefan commented Mar 7, 2016

Pls try fix from last commit. Update file app/code/Magefan/Blog/Block/Adminhtml/Post/Edit/Tab/RelatedProducts.php

@magefan magefan closed this as completed Mar 14, 2016
@swnsma
Copy link
Author

swnsma commented Mar 15, 2016

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants