Magento事件发生变化? [英] Magento event on stock change?
本文介绍了Magento事件发生变化?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试过:
cataloginventory_stock_item_save_after
_after和_before。
但是,如果产品被保存,但不是销售或订单取消,则此事件才会触发。 p>
是否有一个令人愉快的事件?
感谢和欢呼,
Matthias
解决方案
cataloginventory_stock_item_save_commit_after
获得触发销售。
is there an event whenever the stock quantity of an product is changed?
I tried:
cataloginventory_stock_item_save_after
_after and _before.
But this event only get triggerd if product is saved, but not on sell or order cancel.
So is there a convinient event for this?
Thanks and cheers, Matthias
解决方案
cataloginventory_stock_item_save_commit_after
gets triggered on sale.
这篇关于Magento事件发生变化?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文