Jump to content

Disable All Shops


rcarvalho1985

Recommended Posts

Guys, I have a problem working with multistore and if the employee forgets to change to a specific store and leaves it in all shops, it changes the information in all stores. Is there a way to block all shops and make it visible only to super admins?

Another question is why when I change the image of a product in all shops does it update the product values in all stores?

 

Link to comment
Share on other sites

Unfortunately one really has to select a shop, otherwise some changes will be applied to all shops. As far as I know, for images, you still need to change them for each shop. They should override the global setting (like for module settings)

Link to comment
Share on other sites


To prevent employee to access ALL SHOP , you need to do some custom work in the file to disable the ALL SHOP for employee role. 

Inside admin-dev/themes/new-theme/template/components/layout/shop_list.tpl , you need to add a condition at line no 39

{if !isset($current_shop_name) || $current_shop_name == ''}
 	{if $employee->id_profile==1}
  	{l s='All stores' d='Admin.Global'}
    {/if}
{else}

Not tested but this is something you need to play with to hide the ALL SHOP for a particular profile in Prestashop.

Edited by Sandeep Tiwari (see edit history)
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...