Jump to content

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

Hiding Vendor Menu Items Rate Topic   - - - - -

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 18798 posts

Posted 11 February 2019 - 05:43 AM #21

Try to add

$schema['controllers']['destinations']['modes']['manage']['permissions'] = false;

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • 12ka4
  • Advanced Member
  • Trial users
  • Join Date: 21-Feb 18
  • 147 posts

Posted 13 February 2019 - 03:19 AM #22

You can enable the My changes module and create the app/addons/my_changes/schemas/permissions/vendor_multivendor.post.php file with the following content:

<?php

$schema['controllers']['product_features']['modes']['manage']['permissions'] = false;
$schema['controllers']['product_filters']['modes']['manage']['permissions'] = false;
$schema['controllers']['profiles']['modes']['manage']['param_permissions']['user_type']['C'] = false;

return $schema;

Do not forget to clear cache before checking the result

 

Worked just fine...

 

I removed blog and pages for vendors as well using this:

 

$schema['controllers']['pages']['modes']['manage']['permissions'] = false;



 
  • imago
  • Senior Member
  • Members
  • Join Date: 18-Oct 18
  • 343 posts

Posted 13 February 2019 - 07:55 AM #23

 

Try to add

$schema['controllers']['destinations']['modes']['manage']['permissions'] = false;

 

Thank you! Interesting, why Locations are still not renamed to Destinations, according to the controller? :-)



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 18798 posts

Posted 13 February 2019 - 01:32 PM #24

Thank you! Interesting, why Locations are still not renamed to Destinations, according to the controller? :-)

 

¯\_(ツ)_/¯ 


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11174 posts

Posted 13 February 2019 - 08:18 PM #25

Thank you! Interesting, why Locations are still not renamed to Destinations, according to the controller? :-)

Because locations may not always be destinations.  A location could also be used as an origin or for other localization settings.


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.