Skip to content

Commit 889703b

Browse files
committed
[ReadMe] updated readMe file for Persistent-QuoteAnalitics
1 parent f258736 commit 889703b

File tree

5 files changed

+468
-12
lines changed

5 files changed

+468
-12
lines changed

app/code/Magento/Persistent/README.md

Lines changed: 59 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,63 @@
1-
Magento\Persistent module enables set customer a long-term cookie containing internal id (random hash - to exclude brute
1+
# Magento_Persistent module
2+
3+
This module enables set customer a long-term cookie containing internal id (random hash - to exclude brute
24
force) of persistent session. Persistent session data is kept in DB - so it's not deleted in some days and is kept for
35
as much time as we need. DB session keeps customerId + some data from real customer session that we want to sync (e.g.
46
num items in shopping cart). For registered customer this info is synced to persistent session if choose "Remember me"
57
checkbox during first login.
8+
9+
## Installation
10+
11+
Before installing this module, note that the Magento_Persistent is dependent on the following modules:
12+
- `Magento_Checkout`
13+
- `Magento_PageCache`
14+
15+
The Magento_Persistent module creates the `persistent_session` table in the database.
16+
17+
This module modifies the following tables in the database:
18+
- `quote` - adds column `is_persistent`
19+
20+
For information about a module installation in Magento 2, see [Enable or disable modules](https://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli-subcommands-enable.html).
21+
22+
## Extensibility
23+
24+
Extension developers can interact with the Magento_Persistent module. For more information about the Magento extension mechanism, see [Magento plug-ins](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/plugins.html).
25+
26+
[The Magento dependency injection mechanism](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/depend-inj.html) enables you to override the functionality of the Magento_Persistent module.
27+
28+
A lot of functionality in the module is on JavaScript, use [mixins](https://devdocs.magento.com/guides/v2.4/javascript-dev-guide/javascript/js_mixins.html) to extend it.
29+
30+
### Events
31+
32+
The module dispatches the following events:
33+
34+
#### Controller
35+
36+
- `persistent_session_expired` event in the `\Magento\Persistent\Controller\Index\UnsetCookie::execute` method
37+
38+
#### Observer
39+
40+
- `persistent_session_expired` event in the `\Magento\Persistent\Observer\CheckExpirePersistentQuoteObserver::execute` method
41+
42+
For information about an event in Magento 2, see [Events and observers](http://devdocs.magento.com/guides/v2.4/extension-dev-guide/events-and-observers.html#events).
43+
44+
### Layouts
45+
46+
This module introduces the following layouts in the `view/frontend/layout` directory:
47+
- `customer_account_create`
48+
- `customer_account_login`
49+
50+
For more information about a layout in Magento 2, see the [Layout documentation](https://devdocs.magento.com/guides/v2.4/frontend-dev-guide/layouts/layout-overview.html).
51+
52+
## Additional information
53+
54+
More information can get at articles:
55+
- [Persistent Shopping Cart](https://docs.magento.com/user-guide/configuration/customers/persistent-shopping-cart.html)
56+
- [Persistent Cart](https://docs.magento.com/user-guide/sales/cart-persistent.html)
57+
58+
### Cron options
59+
60+
Cron group configuration can be set at `etc/crontab.xml`:
61+
- `persistent_clear_expired` - clear expired persistent sessions
62+
63+
[Learn how to configure and run cron in Magento.](http://devdocs.magento.com/guides/v2.4/config-guide/cli/config-cli-subcommands-cron.html).
Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,43 @@
1-
The Magento_ProductAlert module enables product alerts, which allow customers to sign up for emails about product price or stock status change.
1+
# Magento_ProductAlert module
2+
3+
This module enables product alerts, which allow customers to sign up for emails about product price or stock status change.
4+
5+
## Installation
6+
7+
Before installing this module, note that the Magento_ProductAlert is dependent on the following modules:
8+
- `Magento_Catalog`
9+
- `Magento_Customer`
10+
11+
The Magento_ProductAlert module creates the following table in the database:
12+
- `product_alert_price`
13+
- `product_alert_stock`
14+
15+
For information about a module installation in Magento 2, see [Enable or disable modules](https://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli-subcommands-enable.html).
16+
17+
## Extensibility
18+
19+
Extension developers can interact with the Magento_ProductAlert module. For more information about the Magento extension mechanism, see [Magento plug-ins](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/plugins.html).
20+
21+
[The Magento dependency injection mechanism](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/depend-inj.html) enables you to override the functionality of the Magento_ProductAlert module.
22+
23+
### Layouts
24+
25+
This module introduces the following layouts in the `view/frontend/layout` directory:
26+
- `catalog_product_view`
27+
- `productalert_unsubscribe_email`
28+
29+
For more information about a layout in Magento 2, see the [Layout documentation](https://devdocs.magento.com/guides/v2.4/frontend-dev-guide/layouts/layout-overview.html).
30+
31+
## Additional information
32+
33+
More information can get at articles:
34+
- [Product Alerts](https://docs.magento.com/user-guide/catalog/inventory-product-alerts.html)
35+
- [Product Alert Run Settings](https://docs.magento.com/user-guide/catalog/inventory-product-alert-run-settings.html)
36+
37+
### Cron options
38+
39+
Cron group configuration can be set at `etc/crontab.xml`:
40+
- `catalog_product_alert` - send product alerts to customers
41+
42+
[Learn how to configure and run cron in Magento.](http://devdocs.magento.com/guides/v2.4/config-guide/cli/config-cli-subcommands-cron.html).
43+
Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,44 @@
1-
The Magento_ProductVideo module implements functionality related with linking video files from external resources to product.
1+
# Magento_ProductVideo module
2+
3+
This module implements functionality related with linking video files from external resources to product.
4+
5+
## Installation
6+
7+
Before installing this module, note that the Magento_ProductAlert is dependent on the following modules:
8+
- `Magento_Catalog`
9+
- `Magento_Backend`
10+
11+
The Magento_ProductVideo module creates the `catalog_product_entity_media_gallery_value_video` table in the database.
12+
13+
For information about a module installation in Magento 2, see [Enable or disable modules](https://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli-subcommands-enable.html).
14+
15+
## Extensibility
16+
17+
Extension developers can interact with the Magento_ProductVideo module. For more information about the Magento extension mechanism, see [Magento plug-ins](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/plugins.html).
18+
19+
[The Magento dependency injection mechanism](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/depend-inj.html) enables you to override the functionality of the Magento_ProductVideo module.
20+
21+
A lot of functionality in the module is on JavaScript, use [mixins](https://devdocs.magento.com/guides/v2.4/javascript-dev-guide/javascript/js_mixins.html) to extend it.
22+
23+
### Layouts
24+
25+
This module introduces the following layouts in the `view/frontend/layout` and `view/adminhtml/layout` directories:
26+
- `view/adminhtml/layout`
27+
- `catalog_product_new`
28+
- `view/frontend/layout`
29+
- `catalog_product_view`
30+
31+
For more information about a layout in Magento 2, see the [Layout documentation](https://devdocs.magento.com/guides/v2.4/frontend-dev-guide/layouts/layout-overview.html).
32+
33+
### UI components
34+
35+
This module extends following ui components located in the `view/adminhtml/ui_component` directory:
36+
- `product_form`
37+
38+
For information about a UI component in Magento 2, see [Overview of UI components](http://devdocs.magento.com/guides/v2.4/ui_comp_guide/bk-ui_comps.html).
39+
40+
## Additional information
41+
42+
More information can get at articles:
43+
- [Learn how to add Product Video](https://docs.magento.com/user-guide/catalog/product-video.html)
44+
- [Learn how to configure Product Video](https://devdocs.magento.com/guides/v2.4/frontend-dev-guide/themes/product-video.html)

0 commit comments

Comments
 (0)