How to make a Vendor edit ordered product price in front-end?

  • Posts: 19
  • Thank you received: 0
7 years 11 months ago #257298

-- HikaShop version -- : 2.6.4
-- HikaMarket version -- : 1.7.2
-- Joomla version -- : 3.6.4

Hello,


I have a Vendor (not the main vendor) setup with all ACL enabled; however, when I login with this Vendor account on front-end and see his orders, I noticed the Vendor can only change the order status.

How can I make the Vendor edit the price of an order?!


Your prompt and positive update is truly appreciated,
Kind regards.

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 11 months ago #257299

Hi,

In HikaMarket 1.7.x, the vendors cannot edit the orders more than the order status.
It is plan for HikaShop 1.8.x to let the vendors edit their orders for more elements ; but under strict conditions.

There are several thread in that forum talking about that, first I wanted to do finalize the implementation with the refactoring of the order edition but we found some potential issues so we had to postpone it.
You can be sure that it is an important feature for HikaMarket but we want to make it right and not open possibilities for vendors to go against the system and try to influence the fees for their benefits.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 19
  • Thank you received: 0
7 years 11 months ago #257428

Hi Jerome,

Thanks for the explanation, but keep in mind that allowing vendors to have more control in the front-end is essential for many business models, I'll be grateful if you can go ahead and continue its implementation.


For the mean time, I was able to make the Vendor edit product prices in front-end, by attaching them to "Main Vendor".

Now I have one single problem; when one of the Vendors login to front-end CP he can see all other orders, even if these (sub)order/products were assigned to another Vendor!

Is there a way I can make a main Vendor user see only orders that has products assigned to him, and not to see other orders with products not assigned to him?


Thanks and regards.

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 11 months ago #257443

Hi,

Thanks for the explanation, but keep in mind that allowing vendors to have more control in the front-end is essential for many business models, I'll be grateful if you can go ahead and continue its implementation.

It has never been differently in my mind...

Is there a way I can make a main Vendor user see only orders that has products assigned to him, and not to see other orders with products not assigned to him?

Yes and no.
Because the account is related to the main vendor he can access and edit every orders.
You can see to implement some display restrictions in the front-end to filter and just display some orders but you will have to find a way to detect to which vendor the account is really attached (because HikaMarket see him as a "main vendor" user) and then to filter the content.
But it won't be something very secured, because the HikaMarket core allow the main vendor to edit the orders (depending their ACL).

Please keep in mind that allowing vendors to edit their orders is something extremely complicated.
Regarding the rights, the security, the price/fee processing, the share of the fields, the reprocessing if price is changing, the fact that a vendor might be paid or not, etc.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Moderators: Obsidev
Time to create page: 0.061 seconds
Powered by Kunena Forum