开发者

How to send product price alert in magento?

I am using magento 1.4 . Any one please tell me how to send product price alert. Do i need to change any code for that. If i need to change the c开发者_Python百科ode, possible to tell me where exactly to change and what to change?


Price alerts are sent by Mage_ProductAlert_Model_Observer::process() which is called regularly by cron. Any changes you want to make to how alerts are sent will be in there.

If you want to create an alert that will be sent later see Mage_ProductAlert_AddController::priceAction(). It simply creates a Mage_ProductAlert_Model_Price object and saves it with a customer.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜