Hideing Product Tabs

Hi there!

I wish to hide some tabs form product details , and that is - Seo tab, addons tab, options tab, and subscribers tab.

also in general tab of product details - option settings and all "extra" from the bottom of page.

And i wish that added product had invisible option from availability user groups -all- and -guest users-.

to disable tabs i did try editing app/controllers/backend/products.php and

if ($_SERVER["REQUEST_METHOD"] == 'GET' && $_SESSION['auth'][user_type'] == 'V') {
$tabs = Registry::get('
navigation.tabs');
unset($tabs['
addons']);
Registry::set('
navigation.tabs', $tabs);
}
return array(CONTROLLER_STATUS_OK);

from this post : https://forum.cs-cart.com/topic/46943-disabling-add-ons-tab-on-vendor-panel/

but it didn't work.

It wold be great if someone could help to solve it with my changes addon for compatibility reasons in the future,

Thanks,

A

Hello

Pay attention to this addon.

https://marketplace.cs-cart.com/blocking-tabs-and-parts-of-page-editing.html

Your addon should have high priority so that it performs last or as one of the last.

Best regards

Robert