juanm
1
How to modify admin.php?dispatch=products.add and vendor.php?dispatch=products.add
Basically were are the files to remove fields that are not needed. (e.g. option settings & Availability)
Also how to automatically activate new vendor accounts.
Thank you in advance!
Hello JuanM
Automatically activate new vendor accounts:
You can directly modify the file app/controllers/frontend/companies.php and change line
$data['status'] = 'N';
on
$data['status'] = 'A';
or using hook in function fn_update_company in file /app/functions/fn.companies.php (better solution)
Best regards
Robert
Also how to automatically activate new vendor accounts.
Please check correct solution here
https://forum.cs-cart.com/topic/44170-automatic-vendor-approval/#entry250946