NEED CONFIG BUTTON - CLEAN AND RESET ALL ORDERS
history, all...
And delete all orders in custom installation shipping and payment about virtuemart don't know if exist?
Nice idea, but impossible
You have to delete manually in DB and don't forget about order number
There is no reset order data because order data also may be stored in additional thirdparty plugin related tables for shipment and payment
Therefore you can do a simple SQL call to clear out the base VM order tables
TRUNCATE YOURPREFIX_virtuemart_invoices;
TRUNCATE YOURPREFIX_virtuemart_orders;
TRUNCATE YOURPREFIX_virtuemart_order_calc_rules;
TRUNCATE YOURPREFIX_virtuemart_order_histories;
TRUNCATE YOURPREFIX_virtuemart_order_items;
TRUNCATE YOURPREFIX_virtuemart_order_item_histories;
TRUNCATE YOURPREFIX_virtuemart_order_userinfos;
TRUNCATE YOURPREFIX_virtuemart_order_item_histories;
TRUNCATE YOURPREFIX_virtuemart_carts;
Then you need to consider all the plugins that may contain order data - here is some I have to clear for testing:
TRUNCATE YOURPREFIX_virtuemart_payment_plg_paypal;
TRUNCATE YOURPREFIX_virtuemart_payment_plg_standard;
TRUNCATE YOURPREFIX_virtuemart_shipment_plg_uk_ship;
TRUNCATE YOURPREFIX_virtuemart_shipment_plg_weight_countries;
TRUNCATE YOURPREFIX_virtuemart_plg_cartsaver;
Then go and delete all the pdf invoices fromwherever they are stored
Grrat