This hack is now available as a downloadable plugin from the Zen Cart site. Please visit this link to download it. The plugin uses separate files of its own and doesn’t need any of the existing files to be updated. The Zen Cart Category Menu shows only the sub categories of the currently selected category.… Continue reading Zen Cart Multi Level Category Slide Out Menu
Tag: Recurssion
Recursive Function to output Category / Sub-category Breadcrumb
/// Recursive function to output the breadcrumb function breadcrumb($id,$layer=0,$out=”){ /// If id = 0 outputs that it is Root Category. No need to go any further. if($id ==0){ return “Root Category”; } /// if id > 0 fetches the details of the category first $crumbsql = mysql_query(“Select * From category Where cat_id = ‘”.$id.”‘ “);… Continue reading Recursive Function to output Category / Sub-category Breadcrumb