Profillageret.dk Posted May 9, 2016 Share Posted May 9, 2016 Hello Guys, I just got a new employee which has got access to the webshop with a "Translator" account. But, there is full access to all sections of the product, including the price section. I would like to remove this option, so there can be no changes made here. Is it possible to do that some way... I know I have to change files, and no problem.I would like a solution without changing core files if possible. Thanks. Link to comment Share on other sites More sharing options...
Profillageret.dk Posted May 9, 2016 Author Share Posted May 9, 2016 Got a solution... Use if you want. /admin/themes/default/template/helpers/form/form.tpl Add the following. {* Hide prices for profile ID=4 (translator) *}{if $class_name == 'Product' && $employee->id_profile == 4} <style type="text/css"> #link-Prices {literal}[spam-filter]/literal}display: none;{literal[spam-filter]{/literal} </style>{/if} Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now