VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: toad78 on December 13, 2012, 19:24:10 PM

Title: Disable Vendor Tab in Frontend
Post by: toad78 on December 13, 2012, 19:24:10 PM
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.
Title: Re: Disable Vendor Tab in Frontend
Post by: bytelord on December 13, 2012, 23:12:08 PM
Hello,

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

Regards
Title: Re: Disable Vendor Tab in Frontend
Post by: toad78 on December 14, 2012, 14:55:05 PM
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?
Title: Re: Disable Vendor Tab in Frontend
Post by: bytelord on December 14, 2012, 15:21:07 PM
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
Title: Re: Disable Vendor Tab in Frontend
Post by: toad78 on December 15, 2012, 00:29:12 AM
Beauty!

Thank you.