VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: hishaqat on May 14, 2014, 17:35:49 PM

Title: How to make the update status button in virtuemart orders admin area automatic??
Post by: hishaqat on May 14, 2014, 17:35:49 PM
i am currently using virtuemart as a component for my website, i have tied the website to the artio vmsms component which sends the user an sms message on order changes. the problem i am facing is that every time i want to have an sms message sent, i have to login as an admin and change the order status and click the update order status button manually, i want this process to be done automatically when the status of the order is changed in the database table, because it is tied to a hardware component which changes this order status. can anything be done to overcome the problem i am having? i want the system to send an sms when the status is changed in the database automatically, not by having to go in and clicking the update order status button manually?
Thanks in advance.
Title: Re: How to make the update status button in virtuemart orders admin area automatic??
Post by: Milbo on May 14, 2014, 18:11:23 PM
Quote from: hishaqat on May 14, 2014, 17:35:49 PM
because it is tied to a hardware component which changes this order status.

Then this device must send the correct link to update the orderstatus. Usually this is done by the payment plugin. We may help you http://extensions.virtuemart.net/support
Title: Re: How to make the update status button in virtuemart orders admin area automatic??
Post by: hishaqat on May 14, 2014, 18:52:43 PM
I have managed to change the order status from the database table directly ... But my problem is that even when i change the status from the database it only changes but doesnt send either an email or sms until i press the update order status button in the admin backend.
Title: Re: How to make the update status button in virtuemart orders admin area automatic??
Post by: Milbo on May 14, 2014, 19:47:50 PM
yeh that is the problem, you should use a plugin and the right trigger.