How To Give Hidden Status For Vendors

On our multi-vendor site we, ourselves, have several stores. I need to have one of those stores to not appear on our Vendor list page. We want that store and it’s products to only be available and visible if we provide the link to specific customers.



On the Vendor setup there is ACTIVE and DISABLED…not hidden.



How do I make a Vendor hidden?



Thanks…

Along with this idea, a HIDDEN status would help when we activate new Vendors to not have them live on the site until they actually have their store page created and product up ready to sell.



Right now if we DISABLE the new vendor so their incomplete store does not appear on the site the Vendor's themselves can not access their admin areas.



Thanks, again…

Does anyone have an answer to this??

Hello,



Unfortunately, some code modifications are required in order to implement this feature.

Try to open app/functions/fn.companies.php file and replace the following string:



if (!in_array($status_to, array('A', 'P', 'D')) || $status_from == $status_to) {




with:


if (!in_array($status_to, array('A', 'P', 'D', 'H')) || $status_from == $status_to) {



Then open design/backend/templates/views/companies/manage.tpl and replace the following string:



{include file="common/select_popup.tpl" id=$company.company_id status=$company.status object_id_name="company_id" hide_for_vendor=$runtime.company_id update_controller="companies" notify=$notify notify_text=__("notify_vendor")}




with



{include file="common/select_popup.tpl" id=$company.company_id status=$company.status object_id_name="company_id" hide_for_vendor=$runtime.company_id update_controller="companies" notify=$notify notify_text=__("notify_vendor") hidden=true}




Please note, that only quick test was made by us. We strongly recommend you to make database backup!

I have tried this solution by eComLabs. I do not get an option so set vendor as hidden in the back-end list of vendors
Is there anything more I have to do? (I have emptied the cache)

Try to open [b]app/functions/fn.companies.php[/b] file and replace the following string:
********************
Please note, that only quick test was made by us. [b]We strongly recommend you to make database backup[/b]!

Works for me

http://prntscr.com/a1s14y

Try to delete the var/cache directory

That did get the hidden option in the menu, however, when we set the vendor as hidden all the vendors products are not accessible, although the vendor page itself is accessible.
The vendor also looses access to the vendor admin in the back-end.

I am afraid, more complex changes are required in this case