As it is known, osclass uses a maximum of four levels for subcategories.
I will show you how you can increase the number of category levels from 4 to 5 subcategories. Of course, using the example below you can increase the number of levels to as many as you want.
I use the Omega theme for admin which needs to be modified as follows:
1. open the oc-admin\themes\omega\categories\index.php file
search: maxLevels: 4,
changed to: maxLevels: 5
2.open the oc-admin\themes\omega\css\new.css file
search: .ui-sortable li ul li ul li ul .category_row {padding-left:49px}
change to: .ui-sortable li ul li ul li ul li ul .category_row {padding-left:49px}
search: .ui-sortable li ul li ul li ul .subcategory .toggle, .subcategory .subcategory .subcategory .ico-childrens {display:none}
change to: .ui-sortable li ul li ul li ul li ul.subcategory .toggle, .subcategory .subcategory .subcategory .subcategory .ico-childrens {display:none}
You can now create five-level categories. Good luck!
I will show you how you can increase the number of category levels from 4 to 5 subcategories. Of course, using the example below you can increase the number of levels to as many as you want.
I use the Omega theme for admin which needs to be modified as follows:
1. open the oc-admin\themes\omega\categories\index.php file
search: maxLevels: 4,
changed to: maxLevels: 5
2.open the oc-admin\themes\omega\css\new.css file
search: .ui-sortable li ul li ul li ul .category_row {padding-left:49px}
change to: .ui-sortable li ul li ul li ul li ul .category_row {padding-left:49px}
search: .ui-sortable li ul li ul li ul .subcategory .toggle, .subcategory .subcategory .subcategory .ico-childrens {display:none}
change to: .ui-sortable li ul li ul li ul li ul.subcategory .toggle, .subcategory .subcategory .subcategory .subcategory .ico-childrens {display:none}
You can now create five-level categories. Good luck!