1

我是 Magento 世界的新手。我目前有 1.4.2,当客户使用 Paypal 下订单时,订单状态将被处理。我需要等待。

我试图在 app/Core/code/Mage/Paypal/etc 的 config.xml 中更改默认订单状态

<sales>
        <order>
            <statuses>
                <!-- retained for backwards compatibility, not used anymore -->
                <pending translate="label"><label>Pending</label></pending>
            </statuses>
        </order>
    </sales>

编辑:http ://www.magentocommerce.com/bug-tracking/issue? issue=7572 这包括关于错误订单状态的错误和 Magento 1.3.2.4 的解决方案。但它不适用于 1.4.2
,但这不起作用。任何帮助将不胜感激

4

1 回答 1

1

I was able to find a solution. in app/code/core/Mage/Paypal/Controller/Express/Abstract.php

below link will show u how to change the state of an order whenever you want.

http://blog.chapagain.com.np/magento-how-to-change-order-status-programmatically/

so before you get redirected to the success page. change the order state to what ever you need.

于 2013-06-14T19:53:29.333 回答