Vinai / groupscatalog2

Magento extension to enable you to hide categories and products from customers depending on their customer group. This is a Magento 1.6 and newer compatible version of the Netzarbeiter Customer Groups Catalog extension.
139 stars 59 forks source link

Support for Module "magento-hackathon/AsyncIndex" #131

Open pquerner opened 8 years ago

pquerner commented 8 years ago

While this module works great, it should have integrated support for moudle "magento-hackathon/AsyncIndex"

Module src: https://github.com/magento-hackathon/AsyncIndex

As of now, after altering products/categories via an external updater, the groupscatalog2 indexes wont cover the new information because the module sets the status to "Manual Update".

Maybe also if the import was done via "fastsimpleimport" by AvS the indexes should be invalidated.

Vinai commented 8 years ago

I'll be happy to merge such a PR

pquerner commented 8 years ago

@Vinai Do you have the slightest idea you could give me on where to start? Do I somehow add your modules index to the magento cores "index_event" table, and hope it gets catched by some other module (even AsyncIndex)?

We currently think about going the easy way as I dumped in a few hours into this issue to just have the two indexes renewed by cron every hour or so.

Vinai commented 8 years ago

I have never worked with the async index module, so I don't know any internals. Sorry I can't be any help.