Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
 
 
 
Florian Eisenmenger 41ccc32b5d checkin 2 роки тому
..
Block checkin 2 роки тому
Controller checkin 2 роки тому
Helper checkin 2 роки тому
Model checkin 2 роки тому
Setup checkin 2 роки тому
Test checkin 2 роки тому
etc checkin 2 роки тому
i18n checkin 2 роки тому
view checkin 2 роки тому
LICENSE.txt checkin 2 роки тому
LICENSE_AFL.txt checkin 2 роки тому
README.md checkin 2 роки тому
composer.json checkin 2 роки тому
registration.php checkin 2 роки тому

README.md

Magento_ProductAlert module

This module enables product alerts, which allow customers to sign up for emails about product price or stock status change.

Installation

Before installing this module, note that the Magento_ProductAlert is dependent on the following modules:

  • Magento_Catalog
  • Magento_Customer

The Magento_ProductAlert module creates the following tables in the database:

  • product_alert_price
  • product_alert_stock

All database schema changes made by this module are rolled back when the module gets disabled and setup:upgrade command is run.

The Magento_ProductAlert module contains the recurring script. Script’s modifications don’t need to be manually reverted upon uninstallation.

For information about a module installation in Magento 2, see Enable or disable modules.

Extensibility

Extension developers can interact with the Magento_ProductAlert module. For more information about the Magento extension mechanism, see Magento plug-ins.

The Magento dependency injection mechanism enables you to override the functionality of the Magento_ProductAlert module.

Layouts

This module introduces the following layouts in the view/frontend/layout directory:

  • catalog_product_view
  • productalert_unsubscribe_email

For more information about a layout in Magento 2, see the Layout documentation.

Additional information

More information can get at articles:

Cron options

Cron group configuration can be set at etc/crontab.xml:

  • catalog_product_alert - send product alerts to customers

Learn how to configure and run cron in Magento..