alex32 Posted January 13, 2011 Share Posted January 13, 2011 HiI'd like to have a Profile defined in Employees to access only few TABs in the Back OfficeCould you pls give me a clue of which files need to be to modified ? (and how) many thanks ! Link to comment Share on other sites More sharing options...
rocky Posted January 14, 2011 Share Posted January 14, 2011 You don't need to edit any code. Just go to Employees > Profiles, create a new profile, then go to Employees > Permissions, select the profile in the dropdown, then untick all the tabs you don't want employees with that profile to access. Link to comment Share on other sites More sharing options...
alex32 Posted January 14, 2011 Author Share Posted January 14, 2011 Many thanks RockyI've given permissions only for Catalog and that customization is good but the 4 checkboxes (under permissions) refers in this case to both Categories and Products . What I need is :- the user should have 100% permissions ONLY on his own products (other products should be hidden)- Categories should be always ReadOnly (no modification or delete, much better if the line icons are hidden) could you please let me know how to achieve that ?many thanks Link to comment Share on other sites More sharing options...
rocky Posted January 14, 2011 Share Posted January 14, 2011 You can't. PrestaShop doesn't let you restrict employees to certain categories. You can only give them full access or no access. Link to comment Share on other sites More sharing options...
alex32 Posted January 14, 2011 Author Share Posted January 14, 2011 Uhmmm...suppose I want to create a special employee able to work only on his own products , would that be very complex to implement ? Link to comment Share on other sites More sharing options...
rocky Posted January 14, 2011 Share Posted January 14, 2011 Yes, it is complicated. It's a frequent request, but no-one has created a module yet. Perhaps someone will in the future. I'll add it to my list of modules to consider. Link to comment Share on other sites More sharing options...
alex32 Posted January 14, 2011 Author Share Posted January 14, 2011 many thanks ,meanwhile assuming the Login of each visitor is done with cookies, do you know how to check who is logged in PShop at php level ?Is there any user guide for developers or any advanced article on how-to create a new module ? Link to comment Share on other sites More sharing options...
rocky Posted January 15, 2011 Share Posted January 15, 2011 It's easy to get the number of visitors online, but it is difficult to get the number of customers online, since PrestaShop doesn't link the guest data with the customer data. You will just end up with a whole lot of id_guest and have no idea whether they are customers or not.I'm currently writing a PrestaShop v1.4 Development Guide. I'm very busy and there's a lot to cover though. So far, I've written how to override controllers, classes and modules, and how to write a basic module. I still have to cover Back Office tabs, payment modules, shipping modules and module hooks.In the meantime, there an old tutorial here that might help. Link to comment Share on other sites More sharing options...
alex32 Posted January 15, 2011 Author Share Posted January 15, 2011 Many thanks and congrats for the nice work with PShopI'll try to write my own module for BO... Link to comment Share on other sites More sharing options...
sokpet Posted January 20, 2011 Share Posted January 20, 2011 Hello, is it possible to show only voucher tab without showing Payment page? 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