want the change status order button on listing hikamarket.

  • Posts: 410
  • Thank you received: 9
  • Hikaserial Subscription Hikashop Business
3 years 9 months ago #328666

-- HikaShop version -- : 4.4.0
-- HikaMarket version -- : 3.1.1

HI,

How can i get a button in the hikamarket listing to change the order status there. So it is not neccessary for the vendor to go into the order to change the status.. See attachements.


Please help.

Attachments:

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
3 years 9 months ago #328690

Hello,

It requires a view override and a little modification in the HikaMarket core.
If you want to be able to use the "order status" popup within the order listing, you need to add the required javascript in the listing.
Best is to be able to get the order id from the return of the order status modification ; otherwise you can kept the value in a local JS variable (but I'm not found of).

It's something we can see to add in a future release ; but it will be difficult to give you all the process here (since it requires some development).

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: 410
  • Thank you received: 9
  • Hikaserial Subscription Hikashop Business
3 years 9 months ago #329288

Hello,

Sorry for the late response. It would be nice for a future release, but for now a different approach, how can i make the link in the listing that way that when order opens the pop-up to adjes order-status will show up immidiatly?
See screenshots?

That would be a great solution for us..
Thanks.

Attachments:

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
3 years 9 months ago #329325

Hello,

Your answer was already in my previous message

It requires a view override and a little modification in the HikaMarket core.
If you want to be able to use the "order status" popup within the order listing, you need to add the required javascript in the listing.
Best is to be able to get the order id from the return of the order status modification ; otherwise you can kept the value in a local JS variable (but I'm not found of).

If you want to be able to update a specific order status, you must be able to find the HTML element and update it with the content.
But to find that HTML element, you need to have the knowledge of the order ID which has been just update.

Since my last message, I worked on an implementation but that's not something I can post here.
But that's something that we think about for the next release.

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: 410
  • Thank you received: 9
  • Hikaserial Subscription Hikashop Business
3 years 9 months ago #329350

Hi Jerome,

I understand what you are saying, but clicking the link in the listing i go to the order but is it possible to let the pop-up open directly in the next page, the order page??

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
3 years 9 months ago #329388

Hello,

You can add a parameter to the URL in order to add some special javascript in the order/show view and open automatically the popup when the page is loaded.

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.090 seconds
Powered by Kunena Forum