Jump to content

Employee with Translator rights can see prices for products, how to remove ?


Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...