Author Topic: How does Virtuemart handle bulk orderstatus change?  (Read 398 times)

Huubs

  • Jr. Member
  • **
  • Posts: 227
How does Virtuemart handle bulk orderstatus change?
« 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

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3230
  • VirtueMart Version: 3.8.4
Re: How does Virtuemart handle bulk orderstatus change?
« Reply #1 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?
regards
A

Joomla 3.9.19
php 7.3

pinochico

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 498
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: How does Virtuemart handle bulk orderstatus change?
« Reply #2 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.

www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds from products, orders and database table
Virtuemart Email Manager - customs email templates

Huubs

  • Jr. Member
  • **
  • Posts: 227
Re: How does Virtuemart handle bulk orderstatus change?
« Reply #3 on: June 23, 2020, 15:27:03 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.

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.