Comments (3)
Hi Alex, thanks for your report.
To summarize, I'm sorry to say the extension is working as intended.
Here the background information if you are interested:
Products are independent of categories. The following scenario might clarify:
- Product A is associated to category CatA and also to category CatB
- Product A is visible to the current customer
- CatB is hidden to the current customer
- CatA is visible to the current customer
Now, if category visibility would be applied to associated products, would ProductA be visible to the current customer or hidden? There is no right answer.
Even if a product is associated with only a single hidden category, should that product then be visible when viewed as a simple product in a grouped or configurable product, or through the search?
The only real solution is to re-think the catalog structure to not use category visibility do define product visibility.
from groupscatalog2.
You are right, should be done more properly but I can't see a feasible solution without duplicating products. Problem was
Mage::getSingleton('catalog/product_visibility')->addVisibleInCatalogFilterToCollection($linkCollection);
in Enterprise_TargetRule_Block_Catalog_Product_List_Abstract::_getPreparedTargetLinkCollection
which joins default category of the store view besides applying visibility. I've hacked it a bit by adding second level categories from Group Catalog index, seems to work, but not ideal solution
Thanks for the reply!
from groupscatalog2.
I can't think of a way without duplicating the products, either. Except for a "apply-to-products" flag on the category settings or something like that.
But that would make some things a lot more complex, so I'd rather not implement that, unless it's needed by many users.
Thanks for your thoughts!
from groupscatalog2.
Related Issues (20)
- How to use in magento 2.0? HOT 1
- Support for Module "magento-hackathon/AsyncIndex" HOT 3
- group catalog categories not re-indexing HOT 4
- Show to ALL option
- Display Products via parent child relationship HOT 2
- Is extension compatible with Magneto 2? HOT 1
- After uninstallation empty "General" tab in catalog edit (backend)
- Wont reindex and keeps untickingstore views
- Error with a configurable product in the cart. HOT 2
- Problem with dataflow Export
- Advance Search
- Catalog empty while reindexing HOT 2
- GroupsCatalog Categories won't reindex HOT 3
- Site 500 on install.
- SQL issue HOT 1
- Magento 2 HOT 2
- Uninstall issue HOT 2
- Reindex taking a long time
- When HIDE_GROUPS_ATTRIBUTE isn't set, should fall back to USE_DEFAULT instead HOT 2
- Magento 2 compatibility
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from groupscatalog2.