Jump to content

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

Hiding Vendor Menu Items Rate Topic   - - - - -

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

Posted 11 November 2019 - 10:07 PM #41

And you are logged in as the vendor, not as your admin, right?

yes for 100% (green top bar)



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

Posted 11 November 2019 - 11:41 PM #42

So here's what I'm doing on another customer's site:

file: app/addons/my_changes/schemas/menu/menu.post.php

if( $_SESSION['auth']['user_type'] == 'V' ) {
  $schema['top']['addons'] = array();
}
return $schema;

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.


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

Posted 12 November 2019 - 05:48 AM #43

and where should i place it ?

 

The extra section should be removed from template

 

design/backend/templates/views/products/update.tpl


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    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)