magento sales_order_place_after observer

前端 未结 4 2055
萌比男神i
萌比男神i 2021-02-07 12:38

I\'m trying to write an observer that will export order data when an order is placed. I haven\'t written any modules before. Basing my implementation on this article: http://w

4条回答
  •  春和景丽
    2021-02-07 13:38

    Holy crap. I was stupid. I tested it out with a command line script, like I do with a lot of things, but that particular file was only writeable by the command line interpreter, not the Apache interpreter. I should have left the office earlier last night.

    Well for the record, this is how you trigger an action on order placement. I'll leave it up for posterity.

提交回复
热议问题