Distinguish sub categories category box

for osCommerce Online Merchant v2.3

I want to thank all those who contributed and tried to help with this contribution @raiwa , @Jack_mcs , @Omar_one and @burt. The purpose of this addon is to distinguish in a more friendly way the sub categories in the Categories box. adding different icons or colors. Search in includes/classes/category_tree.php. if ( $level === 0 ) { $result .= $this->root_start_string; } add below ...... else { switch ($level) { case 1: $result .= '<i class="text-info fas fa-chevron-circle-right pull-left" style="margin-top:13px; margin-left:13px; "></i>'; break; case 2: $result .= '<i class="text-info fas fa-sign-out-alt pull-left" style="margin-top:13px; margin-left:13px; "></i>'; break; case 3: $result .= '<i class="text-info fas fa-angle-double-right" style="margin-top:13px; margin-left:13px; color:#3cbecc"></i>'; break; case 4: $result .= '<i class="text-info fas fa-chevron-circle-right pull-left" style="margin-top:13px; margin-left:13px; color:# FFA500"></i>'; break; default: $result .= $this->root_start_string; } } You can change the Font Awesome icon or color to your liking. In the "case" table you can add more levels depending on the depth of subcategories you have. In this example there are only 4 sub-levels.

Changelog