I would like to create a virtual category based on the bundle product options. So if the bundle product has the option ‘product_X’, then the bundle product should be listed. However, if the bundle does not have this option, then it should not be listed.
Imagine the following structure:
We have the following simples:
simple-abc
simple-xyz
Also we have the bundles with the corresponding simple product options:
bundle-1
—simple-abc
—simple-xyz
bundle-2
—simple-xyz
bundle-3
—simple-abc
In addition, the actual 2 virtual categories should be created. For example, an abc
-category that lists all bundle products that have the simple-abc
option. This list would then only contain the two bundles bundle-1
and bundle-3
.