Log in
Model

Email

Magento\ProductAlert\Model\Email

What it does

This class handles sending product alert emails to customers when products go back in stock or when prices change.

Developers would use this model in cron jobs or observer classes to notify subscribed customers about product updates they're interested in, managing the email composition and delivery process.

Public Methods

  • setType()
  • getType()
  • setWebsite()
  • setWebsiteId()
  • setCustomerId()
  • setCustomerData()
  • clean()
  • addPriceProduct()
  • addStockProduct()
  • send()