News:

Looking for documentation? Take a look on our wiki

Main Menu

Solved: Order coould not be deleted

Started by insightcreative, May 17, 2013, 10:57:10 AM

Previous topic - Next topic

insightcreative

Fix: For some reason you have to have all shipping methods assigned to a shopper group.


Hi All

Seems to be my week for VM problems.  I've lost count of the sites I've installed with no problems whatsoever.

A site that is live is coming up with the following error when I try to delete an order:



        vmError: TableOrders delete Order shipmentTable = #__virtuemart_shipment_plg_weight_countries `virtuemart_order_id` = 1 dbErrorMsg
        vmError: VirtueMartModelOrders::remove 1
        Order could not be deleted.

Any help may just save my life.

Andy

jenkinhill

Quote from: insightcreative on May 17, 2013, 10:57:10 AM
Fix: For some reason you have to have all shipping methods assigned to a shopper group.

No you don't, unless the products have been assigned to a group, too. Most VM sites do not need to use shopper groups at all.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

insightcreative

That's weird then.  I went through the settings and compared then with a working site and the only thing I could see that was different was that the shipping methods on one site were assigned to the 2 shopper groups that existed and the broken one didn't. I assigned the shipping methods to the shopper groups on the broken site, hit save, deleted an order and it worked.  Nothing else done.