Run Code When Catalog Changes

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
gardnerr
Ensign (ENS)
Ensign (ENS)
Posts: 20
Joined: Sun Oct 04, 2009 3:57 pm

Run Code When Catalog Changes

Post by gardnerr » Mon Nov 09, 2009 5:10 am

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

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Run Code When Catalog Changes

Post by mazhar » Mon Nov 09, 2009 5:33 am

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.

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Run Code When Catalog Changes

Post by jmestep » Mon Nov 09, 2009 6:32 am

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.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

Post Reply