VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: antonio on February 17, 2013, 17:10:22 PM

Title: How to restore default order status?
Post by: antonio on February 17, 2013, 17:10:22 PM
Hello
by mistake I changed/deleted some of the default order status. I need to restore it. Is it possible?
Title: Re: How to restore default order status?
Post by: jenkinhill on February 17, 2013, 22:35:08 PM
If you deleted them then you have two options, to reinstall the VirtueMart components or to update the database by running an sql file in phpMyAdmin.

If you are familiar with running sql files then use the attached file (remove the .txt from the filename first). If not then use the Joomla extensions installer to re-install VM - you won't lose any products, and you may be ready to update to VM2.0.18b in any case.

In future just unpublish what you don't need if that option is available. Do not delete....

[attachment cleanup by admin]
Title: Re: How to restore default order status?
Post by: antonio on February 18, 2013, 10:25:23 AM
Thanks a lot
Title: Re: How to restore default order status?
Post by: antonio on February 26, 2013, 18:49:34 PM
Hello Kelvyn, I restored the default order status as you said.

Now, changing the status in a test order I get this warning:

vmError: The workflow for C or 2 is unknown, take a look on model/orders function handleStockAfterStatusChanged

What it means?