2

私はマジェントに取り組んでいます。チェックアウト プロセスで注文した後、自動メール送信オプションを有効にするにはどうすればよいですか?

ユーザーが自分のサイトから注文したときに、注文の詳細を含む自動メールがユーザーのメールアドレスに送信されるようにしたいだけです。

販売→注文→メール送信のプロセスを利用していましたが、ユーザーが注文した後、このプロセスを自動的に行う必要があります。

ありがとう

4

1 に答える 1

4

The new order email is sent be Magento automatically - this is default system's configuration.

First of all, check that sending emails is not disabled. Go to admin panel to the "System -> Configuration -> Sales -> Sales Emails -> Order" section. Verify there, that "Enabled" is set to "Yes".

If sending is enabled, then the application is needed to be debugged to find the actual reason. The easiest way is to setup XDebug and put a breakpoint to the start of Mage_Checkout_Model_Type_Onepage::saveOrder() method. Then you can execute PHP step by step till you reach the $order->sendNewOrderEmail(); line. Make sure, that this line is executed. If it is not - find a reason, why, because it is a non-standard behaviour. If the line is executed, but email is not sent, the trace into this call to find the reason.

Hope, it helps.

于 2012-11-08T08:15:00.467 に答える