News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Disable Vendor Tab in Frontend

Started by toad78, December 13, 2012, 19:24:10 PM

Previous topic - Next topic

toad78

How can I disable the Vendor's information from showing in the front-end? I do not see an option to do so in the backend? It really isn't necessary to have the Vendor information in the front end if there is only one vendor managing/selling in the store.

Thank you.

bytelord

Hello,

Don't publish vendor information under a menu item ... i am not sure if i understand your issue...

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

toad78

If the Vendor logs into their account using the  VirtueMart Account Maintenance link we have set up, it displays their Vendor information, besides their Shopper Information.

Is there a way to disable the Vendor Information from showing in the frontend?

bytelord

#3
Hello,

Override edit.php under components\com_virtuemart\views\user\tmpl

and comment out line 73 $tabarray['vendor'] = 'COM_VIRTUEMART_VENDOR';

never test it, you could test it and just hide the tab :)

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!

toad78