Remove "Bulk associate categories" button, "Bulk associate shoppergroups" button

Started by Hungphieu, November 05, 2017, 17:07:28 PM

Previous topic - Next topic

Hungphieu

I want to remove 2 buttons: "Bulk associate categories" button, "Bulk associate shoppergroups" button in toolbar list of administrator.
What I need to do?

Hope everybody help please !

jenkinhill

That looks like a very old VirtueMart version, current buttons are large and green. You should update to latest and then maybe ask again, although what you want to do has never been asked before.

See http://forum.virtuemart.net/index.php?topic=118683.0
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

K&K media production

only possible with a core hack or you may use css

administrator/components/com_virtuemart/views/product/view.html around l. 496

delete or comment this two lines:

JToolBarHelper::custom('massxref_cats', 'new', 'new', vmText::_('COM_VIRTUEMART_PRODUCT_XREF_CAT'), true);
JToolBarHelper::custom('massxref_sgrps', 'new', 'new', vmText::_('COM_VIRTUEMART_PRODUCT_XREF_SGRPS'), true);



Hungphieu

- Thank you, Mr. K&K media production !
I done it with your way. It's OK !

- Thank Mr. jenkinhill !
I'll update it.