Page 1 of 1

Run Code When Catalog Changes

Posted: Mon Nov 09, 2009 5:10 am
by gardnerr
Hi,

Could anyone possibly tell me the best way to run some custom code whenever the structure of the catalog changes in terms of categories? I am caching the structure for performance reasons and I would like to clear the cache when a change is made to the catalog.

Thanks

Rob

Re: Run Code When Catalog Changes

Posted: Mon Nov 09, 2009 5:33 am
by mazhar
For this you need to have a look at pages under Website/Admin/Catalog directory and find out the ones those are taking part in catalog changes and then update all respective locations to clear your cache.

Re: Run Code When Catalog Changes

Posted: Mon Nov 09, 2009 6:32 am
by jmestep
In Able 5, we used to put ?clearcache=1 at the end of the url. That might work in 7, but I'm not sure.