Vendor Privileges

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 years ago
Hi

I am using nopcommerce 4.0

I've set a customer account associated with a vendor account.

I want my vendor to manage his orders himself. I have given him provision to manage orders in ACL.

But my vendor is neither able to change order status on his panel, nor he can preview invoice total.

If I am making any mistake?
6 years ago
maahi777 wrote:
Hi


But my vendor is neither able to change order status on his panel.

If I am making any mistake?


This is 3.90 code.you can find this code in 4.0 with same view page.

Can you please look at _OrderDetails.Info.cshtml view.

You can delete the following condition to allow vendors to change order status:

@if (!Model.IsLoggedInAsVendor)
            {
                <div class="form-group">
                    <div class="col-md-3">
                        @Html.NopLabelFor(model => model.OrderStatus)
...

Moreover ,you have to delete the same check in the ChangeOrderStatus method of the OrderController.

Hope you will understand.
6 years ago
Thanks

There is no setting in admin panel?
6 years ago
maahi777 wrote:
Thanks

There is no setting in admin panel?


I'm not talking about the configuration.

You have to customize view page as well c# code which I mentioned above.
6 years ago
Okay

Thank you
5 years ago
I didn't find OrderController..
5 years ago
You need the source code version

\Presentation\Nop.Web\Areas\Admin\Controllers\OrderController.cs
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.