Create Vendor Account Without Administrator Approval

Hi there,



In CS-Cart multivendor , every time a customer applies for a vendor account, then his request must be approved by the Administrator first and then only his account is activated

(password credentials are then sent to his email to login).



Can this default setting be changed in such a way that vendor account doesn't need administrator approval and it instantly gets activated.



Regards,

NaMo

Hello NaMo,



We can advise you to change $data['status'] = 'N'; to $data['status'] = 'A'; in the [cs-cart root dir]/app/controllers/frontend/companies.php file.



Sincerely yours,

CS-Market.

Hi CS-Market,



Thanks for the help.



We are also trying to modify the form of vendor registration such that it accepts only “Name” and “Email” fields i.e. [color=#ff0000]apply_for_vendor.tpl[/color].



How can we remove the fields we don't want to use like [color=#0000cd]“Description, Address, City, Company, State” [/color]and keep only the Name and Email fields.



[color=#282828][font=arial, verdana, tahoma, sans-serif] I tried playing with the [/font][/color][color=#FF0000][font=arial, verdana, tahoma, sans-serif]Profile fields [/font][/color][color=#282828][font=arial, verdana, tahoma, sans-serif]in the [/font][/color][color=#0000FF][font=arial, verdana, tahoma, sans-serif]settings [/font][/color][color=#282828][font=arial, verdana, tahoma, sans-serif]column but it didn't seem to work. Also I figured out that I need to play with the following code found in the [/font][/color][color=#FF0000][font=arial, verdana, tahoma, sans-serif]apply_for_vendor.tpl file [/font][/color]


```php


```



[color=#282828][font=arial, verdana, tahoma, sans-serif]But I don't know exactly how to modify it.[/font][/color]



[color=#282828][font=arial, verdana, tahoma, sans-serif]Your suggestions on the same would be highly valuable to me.[/font][/color]



Regards,

NaMo

Bad idea from a security standpoint… If I came to your site, I could become a vendor and publish a bunch of “too good to be true” products. Customers would come an buy these products via your Merchant Account and I'd walk away with the money and leave you holding the bag. I'd do this over and over until you properly vetted your vendors…



A vendor should be vetted by you. Your reputation depends upon your customers experience with your vendors.

Hi tbirnseth,



Though, it's a bad idea considering your point but if your initially starting out and inviting vendors to sign up at your store, then I probably believe that it is a better point.



Say if they sign up and want to look at the store dashboard immediately then probably they will have to wait until the store admin approves them, which will piss them a lot.



They might loose the interest and you might loose one of your paying customer too.



Also, the customers money can be protected while transferring it to vendor's account after successful delivery of product.

[quote name='CS-Market' timestamp='1393570844' post='178486']

Hello NaMo,



We can advise you to change $data['status'] = 'N'; to $data['status'] = 'A'; in the [cs-cart root dir]/app/controllers/frontend/companies.php file.



Sincerely yours,

CS-Market.

[/quote]



Hi Cs-market,



As per your advise, I performed the above changes but it seems that as soon as the vendor account are being created, the appropriate password generated mail are not being sent to the vendor.



What additional modification needs to be done?



Regards,



NaMo

Hello NaMo,



We've answered your question via Personal Messenger.



Sincerely yours,

CS-Market.