admin/includes/lib_main.php
Inside the function suppliers_list_name()
Change $suppliers_name[$suppliers['suppliers_id']] = $suppliers['suppliers_name']; to
if($_SESSION['admin_id']==1)
Only display the suppliers managed by the current admin, except for the initial super admin.
ECShop Product List: Show Only Products from Supplier Managed by This Admin
admin/includes/lib_goods.php
if (!empty($filter['suppliers_id']))
Add the following below:
if ($_SESSION['admin_id']==1)
Only display products from the admin’s own supplier, except for the initial super admin.