PDA

View Full Version : Easy Enable and Disable product categories



michael_s
10-29-2008, 02:00 AM
Just added lines that clear the cache after enable/disable category.

Full Package.

Manual update from "Easy Enable and Disable product categories - interface fix":

REPLACE:

break;
// ZDRAVKO PATCH ENABLE DISABLE CATEGORY - End
//writen by Zdravko Shishmanov

WITH:

if (USE_CACHE == 'true') {
tep_reset_cache_block('categories');
tep_reset_cache_block('also_purchased');
}
break;
// ZDRAVKO PATCH ENABLE DISABLE CATEGORY - End
//writen by Zdravko Shishmanov


More... (http://addons.oscommerce.com/info/6301)