![]() |
|
Reply to comment
Editing Fulfillment Staff Permissions in X-Cart
Submitted by nej on Thu, 10/22/2009 - 17:49XCart doesn't do much justice in helping admins edit permissions of certain group members/users, so I created a simple step by step procedure to help anyone else who was doing what I was doing. I will also be posting another blog for creating your own custom user groups so you can manage your store better and assign preset permissions to users.
Lets get started...
To edit the permissions for the fulfillment staff you need to go to the following directory:
| \xcart directory\include\security.php |
Once you have located that file you need to look for the following line:
| if ($user_account["flag"] == "FS") { $_fulfillment_scripts = array( |
Between the percentiles are the pages which the fulfillment staff are allowed to access. For example, if you put 'search.php' in there the fulfillment user will be able to access the search products feature.
Now thats only step one. What you also need to do is you need to go to:
| Administration Page -> Edit Templates ->Fulfillment -> home.tpl |
Once there, you insert the link to that page. In this case you would insert the following code in the menu section:
| <a href="{$catalogs.provider}/search.php" class="VertMenuItems">{$lng.lbl_search_products}</a> |
Now you have completed adding the link to the menu, but your not done yet.
Now what you need to do is look for the following code in the home.tpl file.
| <!-- central space --> {include file="dialog_message.tpl"} |
Once you have found that you insert the page you want to open. In this case its the search so you put the following code after the first if statement:
| {elseif $main eq "search"} {include file="main/search_result.tpl" products=$products} |
And your done! Now Fullfillment Staff members can search through your products from the admin page.

What We Do