Cscart Customer to vendor Convert

Hi,

In cscart, customer already registered and i need to convert customer as a vendor.
is there any function or hook convert customer as vendor.
or Just change use type to V change as a vendor (any proper way handle this via code).
Thanks

The quickest way I can think of is to log in as that user, apply for a vendor account and then - approve the application.

Hi,

is there, any other way like api or function , hook

Thanks

Unfortunately no. You can check the app/controllers/frontend/companies.php controller’s POST apply_for_vendor mode and use it to create your own function.

2 Likes

Hi,

Thanks for conformation.

1 Like

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.