ecshop删除订单,执行以下SQL语句(需要注意的是 ecs_order_info 里的 ecs_ 要换成你的数据表前缀):
使用下面代码即可,元素模板为您解答
删除全部订单: delete FROM `ecs_order_info` 删除未确认订单:delete FROM `ecs_order_info` where order_status ='0' 删除已取消订单:delete FROM `ecs_order_info` where order_status ='2' 删除已确认订单:delete FROM `ecs_order_info` where order_status ='1'