VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: Kuubs on June 23, 2020, 11:52:47 AM

Title: How does Virtuemart handle bulk orderstatus change?
Post by: Kuubs on June 23, 2020, 11:52:47 AM
Hello,

I have a plugin that sends orders to a third party website. But when I use the bulk order system the ordering of the orders in the backend of Virtuemart is not used. It seems that the orders are randomly sent to the third party website? I have made a plugin that sends the order when a certain status is reached. But how does Virtuemart handles bulk order status? Does it just goes through every order randomly, or does it do it in a certain order?

It would be great if it just goes from the top of the list to the bottom, but it seems to me that it's not acting like that
Title: Re: How does Virtuemart handle bulk orderstatus change?
Post by: AH on June 23, 2020, 14:39:08 PM
It will do something in the sequence you give it.

The update should proceed in order id sequence - but who knows what you are really doing?
Title: Re: How does Virtuemart handle bulk orderstatus change?
Post by: pinochico on June 23, 2020, 15:04:18 PM
I think, wrong developed plugin that sends orders to a third party website.

We have our gopay payment plugin and when admin use the bulk order system and change status for a lot of orders in one time, then email sended only first order.
Ok, then we had to reprogram the gopay plugin to work in the bulk order system.

Maybe is the same.

Title: Re: How does Virtuemart handle bulk orderstatus change?
Post by: Kuubs on June 23, 2020, 15:27:03 PM
Quote from: AH on June 23, 2020, 14:39:08 PM
It will do something in the sequence you give it.

The update should proceed in order id sequence - but who knows what you are really doing?

Ok thanks.

Quote from: pinochico on June 23, 2020, 15:04:18 PM
I think, wrong developed plugin that sends orders to a third party website.

We have our gopay payment plugin and when admin use the bulk order system and change status for a lot of orders in one time, then email sended only first order.
Ok, then we had to reprogram the gopay plugin to work in the bulk order system.

Maybe is the same.



I will check, thanks for the answer.