// Clear smarty and media cache if catalog mode is enabled