Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Hideing Product Tabs Rate Topic   - - - - -

 
  • Adr
  • Advanced Member
  • Members
  • Join Date: 30-Jan 18
  • 56 posts

Posted 09 November 2019 - 11:27 AM #1

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-car...n-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



 
  • soft-solid
  • Junior Member
  • Members
  • Join Date: 19-Apr 10
  • 899 posts

Posted 09 November 2019 - 07:19 PM #2

Hello

 

Pay attention to this addon.

https://marketplace....ge-editing.html

 

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

 

Best regards

Robert


Team of SoftSolid
cs-cart.pl