VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: antonitus on March 10, 2016, 11:55:00 AM

Title: Removing Vendor Status on Account Maintenance page
Post by: antonitus on March 10, 2016, 11:55:00 AM
Hi,

Can somebody please tell me how I can remove the 'Vendor Status' line in the Account Maintenance page (please see screenshot).

Thanks,
antonitus
Title: Re: Removing Vendor Status on Account Maintenance page
Post by: VMTemplates.net on March 10, 2016, 13:12:44 PM
Hi,

you can try to remove it using CSS. Please paste this code below to your template.css file:

#ui-tabs #tab-1 > fieldset .adminForm.user-details tbody:nth-child(1) tr {
    display: none;
}

It would be easier if you would sent URL of your website.

Thanks,
Jason
Title: Re: Removing Vendor Status on Account Maintenance page
Post by: antonitus on March 10, 2016, 13:32:16 PM
Hi Jason,

Thank you for your help.  That CSS is very interesting, however it removes most of the admin info including parts of the registration form.

I only want to remove one line from this page (please see screenshot).

You have to log in to see this page as you know.

Thanks,
antonitus
Title: Re: Removing Vendor Status on Account Maintenance page
Post by: jenkinhill on March 10, 2016, 13:47:41 PM
In default the VirtueMart templates you do not see the vendor information unless you are logged into the FE and the shop is set to multi-vendor rather than status.  So if you are not running a multi-vendor store just turn off MV in Config/Shop.

Title: Re: Removing Vendor Status on Account Maintenance page
Post by: antonitus on March 10, 2016, 14:12:18 PM
Thank
Title: Re: Removing Vendor Status on Account Maintenance page
Post by: antonitus on March 10, 2016, 14:14:20 PM
Thanks jenkinhill, that fixed it nicely.  I wasn't aware of that. I had to turn it on when I was configuring one vendor, which I believe we have to do to set up a shop.

Thanks,
antonitus