View Single Post
  #2  
Old 07-16-2015, 04:50 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Showing all categories, subcategories and sub-subcategories

Looking in /include/func/func.category.php:
Code:
function func_get_categories_list($cat = 0, $short_list = TRUE, $need_sublevel = FALSE, $max_level = 0)

See that $max_level = 0 in the function arguments above? Looks to me like you are calling this function with this code:
Code:
$extended_categories = func_get_categories_list(0, true, true, 1);

So the last parameter you are feeding it is a 1, $maxlevel = 1. Try increasing it and see what you get.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote