prunycb / magento-w2p

Automatically exported from code.google.com/p/magento-w2p
0 stars 0 forks source link

OrderApproval menu item visible only for approvers #732

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Make Order Approval menu item visible only for approvers on customer's My 
Account page. Now it's visible for any registered customer, but non-approver 
customer gets 404 page when clicks on the item.

Original issue reported on code.google.com by Anatoly....@gmail.com on 11 Jan 2012 at 11:29

GoogleCodeExporter commented 9 years ago
You have any solution for this problem?

Original comment by htc.kers...@googlemail.com on 12 Jun 2012 at 2:43

GoogleCodeExporter commented 9 years ago
We don't, sorry. Issues has not implemented yet.

Original comment by Anatoly....@gmail.com on 13 Jun 2012 at 10:51

GoogleCodeExporter commented 9 years ago
Hi there, here is solution for this issue. 
For the first - copy content of archive to root magento folder with replacing 
files.
You must place all approvers to separate customer group and place this group 
name to the module xml layout ( you can find it here : 
app\design\frontend\base\default\layout\order-approval.xml) change group name 
here: 
<customer_group_your_group_name></customer_group_your_group_name> 
(Attention: Group name must be set without spaces.),for default i set group 
"wholesale". When user from approvers group (for example: wholesale) logged in 
- he see link to order approval. Members of other groups, respectively, did not 
see it. 

Hope this solution will help you, Anthony.

Original comment by kovalevsc@gmail.com on 17 Jan 2014 at 10:40

Attachments: