Change the status of an order to shipped

  • Posts: 40
  • Thank you received: 0
10 years 6 months ago #153698

Hi. Is there a way to change the status of an order when a product it contains has a serial that changes from Assigned to Consumed ? I have orders which contains products (normal...) and when the status of the order changes to confirmed, a serial is assigned to that order. Now, what I need is that order to change status to Shipped when the serial changes status from assigned to consumed. Thanks for letting me know.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
10 years 6 months ago #153724

Hi,

I will recommend a little HikaSerial plugin which will trigger the event "onAfterSerialConsume"
www.hikashop.com/support/documentation/1...onafterserialconsume

Thanks to this event, you can see if the order linked with the serial still have some "assigned" serials or if all of his serials are consumed. In that case, you can modify the order status to set it "shipped".

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