currently just reports the category used (i.e. what is in the opencart database). e.g. for the nested categories;
Computers
Big Ones
Yellow Big Ones
currently reports "Yellow Big Ones". Would maybe be better to report full path e.g. "Computers > Big Ones > Yellow Big Ones".
Test if ($category_info['top']==1) , if so then use name (reached top category)
If not, recusively work up tree by using $category_info['parent_id'] to get the next category.
Form full string, maybe limit to 3-5 categories say?
currently just reports the category used (i.e. what is in the opencart database). e.g. for the nested categories;
currently reports "Yellow Big Ones". Would maybe be better to report full path e.g. "Computers > Big Ones > Yellow Big Ones".
Test if ($category_info['top']==1) , if so then use name (reached top category) If not, recusively work up tree by using $category_info['parent_id'] to get the next category. Form full string, maybe limit to 3-5 categories say?