如何在Magento中将状态从取消更改为处理

时间:2017-02-15 09:03:44

标签: magento magento-1.9

我需要将订单状态从已取消更改为处理,如何从后端执行此操作。有可能或重新订购我的订单吗?

1 个答案:

答案 0 :(得分:0)

我一直在使用amasty' Mass Product Actions | v1.7.1 为此目的。

enter image description here

有关替代解决方案,请参阅此link

config.xml

下找到Magento\app\code\core\Mage\Sales\etc\

找到这段代码:

<states>
                    <new translate="label">
                        <label>New</label>
                        <statuses>
                            <pending/>
                        </statuses>
                        <visible_on_front/>
                    </new>
                    <pending_payment translate="label">
                        <label>Pending Payment</label>
                        <statuses>
                            <pending_paypal/>
                        </statuses>
                    </pending_payment>
                    <processing translate="label">
                        <label>Processing</label>
                        <statuses>
                            <processing/>
                        </statuses>
                        <visible_on_front/>
                    </processing>
                    <complete translate="label">
                        <label>Complete</label>
                        <statuses>
                            <complete/>
                        </statuses>
                        <visible_on_front/>
                    </complete>
                    <closed translate="label">
                        <label>Closed</label>
                        <statuses>
                            <closed/>
                        </statuses>
                        <visible_on_front/>
                    </closed>
                    <canceled translate="label">
                        <label>Canceled</label>
                        <statuses>
                            <canceled/>
                        </statuses>
                        <visible_on_front/>
                    </canceled>
                    <holded translate="label">
                        <label>On Hold</label>
                        <statuses>
                            <holded/>
                        </statuses>
                        <visible_on_front/>
                    </holded>
                </states>
Change it to this:
<states>
  <new translate="label">
    <label>New</label>
    <statuses>
      <pending/>
      <processing/>
      <holded/>
      <complete/>
      <closed/>
      <canceled/>
    </statuses>
  </new>
  <pending translate="label">
    <label>Pending</label>
    <statuses>
      <pending/>
      <processing/>
      <holded/>
      <complete/>
      <closed/>
      <canceled/>
    </statuses>
  </pending>
  <processing translate="label">
    <label>Processing</label>
    <statuses>
      <pending/>
      <processing/>
      <holded/>
      <complete/>
      <closed/>
      <canceled/>
    </statuses>
  </processing>
  <complete translate="label">
    <label>Complete</label>
    <statuses>
      <complete/>
      <pending/>
      <processing/>
      <holded/>
      <closed/>
      <canceled/>
    </statuses>
  </complete>
  <closed translate="label">
    <label>Closed</label>
    <statuses>
      <pending/>
      <processing/>
      <holded/>
      <complete/>
      <closed/>
      <canceled/>
    </statuses>
  </closed>
  <canceled translate="label">
    <label>Canceled</label>
    <statuses>
      <pending/>
      <processing/>
      <holded/>
      <complete/>
      <closed/>
      <canceled/>
    </statuses>
  </canceled>
  <holded translate="label">
    <label>On Hold</label>
      <statuses>
      <pending/>
      <processing/>
      <holded/>
      <complete/>
      <closed/>
      <canceled/>
    </statuses>
  </holded>
</states>

保存文件。

在Magento中刷新缓存。

现在应该允许您在Magento Commerce中手动更改订单状态。