From ab7da5d42481a8fd361f440ee4f3683a0b0867ea Mon Sep 17 00:00:00 2001 From: CJ Date: Thu, 31 Dec 2020 17:57:18 +0530 Subject: [PATCH 01/15] updated readme file --- app/code/Magento/Sales/README.md | 416 +++++++++++++++++++++++++++++-- 1 file changed, 401 insertions(+), 15 deletions(-) diff --git a/app/code/Magento/Sales/README.md b/app/code/Magento/Sales/README.md index 69068f5bfc5dc..83d76ced7da8e 100644 --- a/app/code/Magento/Sales/README.md +++ b/app/code/Magento/Sales/README.md @@ -1,19 +1,405 @@ -# Overview -## Purpose of module +# Magento_Sales module -Magento\Sales module is responsible for order processing and appearance in system, -Magento\Sales module manages next system entities and flows: -* order management; -* invoice management; -* shipment management (including tracks management); -* credit memos management; -Magento\Sales module is required for Magento\Checkout module to perform checkout operations. +The **Magento_Sales** module is responsible for order processing and appearance in system, **Magento_Sales** module manages next system entities and flows: -# Deployment -## System requirements +- order management, +- invoice management, +- shipment management (including tracks management), +- credit memos management. -The Magento_Sales module does not have any specific system requirements. -Depending on how many orders are being placed, there might be consideration for the database size +The **Magento_Sales** module is required for Magento_Checkout module to perform checkout operations. -## Install -The Magento_Sales module is installed automatically (using the native Magento install mechanism) without any additional actions. +## Installation details + +Before installing this module, note that the **Magento_Sales** is dependent on the following modules: + +- Magento_Authorization +- Magento_Bundle +- Magento_Catalog +- Magento_CatalogInventory +- Magento_Checkout +- Magento_Config +- Magento_Customer +- Magento_GiftMessage +- Magento_MediaStorage +- Magento_Payment +- Magento_Quote +- Magento_Reports +- Magento_Rule +- Magento_SalesRule +- Magento_SalesSequence +- Magento_Shipping +- Magento_Store +- Magento_Tax +- Magento_Theme +- Magento_Ui +- Magento_Widget +- Magento_Wishlist + +Before disabling or uninstalling this module, please consider the following dependencies: + +- Magento_Checkout +- Magento_ConfigurableProduct +- Magento_ConfigurableProductSales +- Magento_GiftMessage +- Magento_GroupedProduct +- Magento_OfflineShipping +- Magento_Paypal +- Magento_Reports +- Magento_SalesAnalytics +- Magento_SalesInventory +- Magento_SalesRule +- Magento_TestModuleFakePaymentMethod +- Magento_Vault +- Magento_Weee + +Please find here [how to enable or disable modules in Magento 2](https://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli-subcommands-enable.html). + +## Structure + +`Cron/` - directory that contains logic for clean expired quotes, grid async insert, and send emails. +`CustomerData/` - It contains list of 5 salable products from the last placed order. +`Exception/` - directory that contains exception classes. + +For information about a typical file structure of a module in Magento 2, see [Module file structure](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/build/module-file-structure.html#module-file-structure). + +## Extensibility + +Extension developers can interact with the **Magento_Sales** 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). + +[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_Sales** module. + +### Events + +The module dispatches the following events: + +- `adminhtml_customer_orders_add_action_renderer` event in the `\Magento\Sales\Block\Adminhtml\Reorder\Renderer\Action::render()` method. Parameters: + - `renderer` is an Action object (`\Magento\Sales\Block\Adminhtml\Reorder\Renderer\Action` class). + - `row` is a Data object (`\Magento\Framework\DataObject` class). +- `admin_sales_order_address_update` event in the `\Magento\Sales\Controller\Adminhtml\Order\AddressSave::execute()` method. Parameters: + - `order_id` is an order id. +- `adminhtml_sales_order_create_process_data_before` event in the `\Magento\Sales\Controller\Adminhtml\Order\Create::_processActionData()` method. Parameters: + - `eventData` is an array contains `order_create_model`, `request_model`, and `session`. +- `adminhtml_sales_order_create_process_item_after` event in the `\Magento\Sales\Controller\Adminhtml\Order\Create::_processActionData()` method. Parameters: + - `eventData` is an array contains `order_create_model`, `request_model`, and `session`. +- `adminhtml_sales_order_create_process_data` event in the `\Magento\Sales\Controller\Adminhtml\Order\Create::_processActionData()` method. Parameters: + - `eventData` is an array contains `order_create_model`, and `request`. +- `adminhtml_sales_order_creditmemo_register_before` event in the `\Magento\Sales\Controller\Adminhtml\Order\CreditmemoLoader::load()` method. Parameters: + - `creditmemo` is a CreditmemoInterface object (`\Magento\Sales\Api\Data\CreditmemoInterface` class). + - `input` is a credit memo. +- `checkout_submit_all_after` event in the `\Magento\Sales\Model\AdminOrder\Create::createOrder()` method. Parameters: + - `order` is an Order object (`\Magento\Sales\Model\Order` class). + - `quote` is a Quote object (`\Magento\Quote\Model\Quote` class). +- `email_shipment_set_template_vars_before` event in the `\Magento\Sales\Model\Order\Email\Sender\ShipmentSender::send()` method. Parameters: + - `sender` is a ShipmentSender object (`\Magento\Sales\Model\Order\Email\Sender\ShipmentSender` class). + - `transport` is a transport object data. + - `transportObject` is a transport object. +- `sales_convert_order_to_quote` event in the `\Magento\Sales\Model\AdminOrder\Create::initFromOrder()` method. Parameters: + - `order` is an Order object (`\Magento\Sales\Model\Order` class). + - `quote_item` is a Quote object (`\Magento\Quote\Model\Quote` class). +- `sales_convert_order_item_to_quote_item` event in the `\Magento\Sales\Model\AdminOrder\Create::initFromOrderItem()` method. Parameters: + - `order_item` is an ordered Item object (`\Magento\Sales\Model\Order\Item` class). + - `quote` is a Quote Item object (`\Magento\Quote\Model\Quote\Item` class). +- `sales_order_creditmemo_refund` event in the `\Magento\Sales\Model\Order\Creditmemo\RefundOperation::execute()` method. Parameters: + - `creditmemo` is a CreditmemoInterface object (`\Magento\Sales\Api\Data\CreditmemoInterface` class). +- `sales_order_payment_place_start` event in the `\Magento\Sales\Model\Order\Payment::place()` method. Parameters: + - `payment` is a Payment object (`\Magento\Sales\Model\Order\Payment` class). +- `sales_order_payment_place_end` event in the `\Magento\Sales\Model\Order\Payment::place()` method. Parameters: + - `payment` is a Payment object (`\Magento\Sales\Model\Order\Payment` class). +- `sales_order_payment_pay` event in the `\Magento\Sales\Model\Order\Payment::pay()` method. Parameters: + - `payment` is a Payment object (`\Magento\Sales\Model\Order\Payment` class). + - `invoice` is a Invoice object (`\Magento\Sales\Model\Order\Invoice` class). +- `sales_order_payment_cancel_invoice` event in the `\Magento\Sales\Model\Order\Payment::cancelInvoice()` method. Parameters: + - `payment` is a Payment object (`\Magento\Sales\Model\Order\Payment` class). + - `invoice` is a Invoice object (`\Magento\Sales\Model\Order\Invoice` class). +- `sales_order_payment_void` event in the `\Magento\Sales\Model\Order\Payment::Void()` method. Parameters: + - `payment` is a Payment object (`\Magento\Sales\Model\Order\Payment` class). + - `invoice` is a Invoice object (`\Magento\Sales\Model\Order\Invoice` class). +- `sales_order_payment_refund` event in the `\Magento\Sales\Model\Order\Payment::refund()` method. Parameters: + - `payment` is a Payment object (`\Magento\Sales\Model\Order\Payment` class). + - `creditmemo` is a CreditmemoInterface object (`\Magento\Sales\Api\Data\CreditmemoInterface` class). +- `sales_order_payment_cancel_creditmemo` event in the `\Magento\Sales\Model\Order\Payment::cancelCreditmemo()` method. Parameters: + - `payment` is a Payment object (`\Magento\Sales\Model\Order\Payment` class). + - `creditmemo` is a CreditmemoInterface object (`\Magento\Sales\Api\Data\CreditmemoInterface` class). +- `sales_order_payment_cancel` event in the `\Magento\Sales\Model\Order\Payment::cancelInvoice()` method. Parameters: + - `payment` is a Payment object (`\Magento\Sales\Model\Order\Payment` class). + +For information about the event system in Magento 2, see [Events and observers](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/events-and-observers.html#events). + +### Layouts + +This module introduces the following layouts and layout handles in the directories: + +- `view/adminhtml/layout`: + - `sales_creditmemo_exportcsv` + - `sales_creditmemo_exportexcel` + - `sales_creditmemo_grid` + - `sales_creditmemo_index` + - `sales_creditmemo_item_price` + - `sales_invoice_exportcsv` + - `sales_invoice_exportexcel` + - `sales_invoice_grid` + - `sales_invoice_index` + - `sales_invoice_item_price` + - `sales_order_addcomment` + - `sales_order_address` + - `sales_order_create_customer_block` + - `sales_order_create_index` + - `sales_order_create_item_price` + - `sales_order_create_load_block_billing_address` + - `sales_order_create_load_block_billing_method` + - `sales_order_create_load_block_comment` + - `sales_order_create_load_block_customer_grid` + - `sales_order_create_load_block_data` + - `sales_order_create_load_block_form_account` + - `sales_order_create_load_block_giftmessage` + - `sales_order_create_load_block_header` + - `sales_order_create_load_block_items` + - `sales_order_create_load_block_json` + - `sales_order_create_load_block_message` + - `sales_order_create_load_block_newsletter` + - `sales_order_create_load_block_plain` + - `sales_order_create_load_block_search` + - `sales_order_create_load_block_search_grid` + - `sales_order_create_load_block_shipping_address` + - `sales_order_create_load_block_shipping_method` + - `sales_order_create_load_block_sidebar` + - `sales_order_create_load_block_sidebar_cart` + - `sales_order_create_load_block_sidebar_compared` + - `sales_order_create_load_block_sidebar_pcompared` + - `sales_order_create_load_block_sidebar_pviewed` + - `sales_order_create_load_block_sidebar_reorder` + - `sales_order_create_load_block_sidebar_viewed` + - `sales_order_create_load_block_sidebar_wishlist` + - `sales_order_create_load_block_totals` + - `sales_order_creditmemo_addcomment` + - `sales_order_creditmemo_grid_block` + - `sales_order_creditmemo_new` + - `sales_order_creditmemo_updateqty` + - `sales_order_creditmemo_view` + - `sales_order_creditmemos` + - `sales_order_edit_index` + - `sales_order_exportcsv` + - `sales_order_exportexcel` + - `sales_order_grid` + - `sales_order_index` + - `sales_order_invoice_addcomment` + - `sales_order_invoice_grid_block` + - `sales_order_invoice_new` + - `sales_order_invoice_updateqty` + - `sales_order_invoice_view` + - `sales_order_invoices` + - `sales_order_item_price` + - `sales_order_shipment_grid_block` + - `sales_order_shipments` + - `sales_order_status_assign` + - `sales_order_status_edit` + - `sales_order_status_index` + - `sales_order_status_new` + - `sales_order_transactions` + - `sales_order_transactions_grid_block` + - `sales_order_view` + - `sales_shipment_exportcsv` + - `sales_shipment_exportexcel` + - `sales_shipment_index` + - `sales_transaction_child_block` + - `sales_transactions_grid` + - `sales_transactions_grid_block` + - `sales_transactions_index` + - `sales_transactions_view` +- `view/frantend/layout`: + - `checkout_index_index` + - `customer_account` + - `customer_account_index` + - `default` + - `sales_email_item_price` + - `sales_email_order_creditmemo_items` + - `sales_email_order_creditmemo_renderers` + - `sales_email_order_invoice_items` + - `sales_email_order_invoice_renderers` + - `sales_email_order_items` + - `sales_email_order_renderers` + - `sales_email_order_shipment_items` + - `sales_email_order_shipment_renderers` + - `sales_email_order_shipment_track` + - `sales_guest_creditmemo` + - `sales_guest_form` + - `sales_guest_invoice` + - `sales_guest_print` + - `sales_guest_printcreditmemo` + - `sales_guest_printinvoice` + - `sales_guest_printshipment` + - `sales_guest_reorder` + - `sales_guest_shipment` + - `sales_guest_view` + - `sales_order_creditmemo` + - `sales_order_creditmemo_renderers` + - `sales_order_guest_info_links` + - `sales_order_history` + - `sales_order_info_links` + - `sales_order_invoice` + - `sales_order_invoice_renderers` + - `sales_order_item_price` + - `sales_order_item_renderers` + - `sales_order_print` + - `sales_order_print_creditmemo_renderers` + - `sales_order_print_invoice_renderers` + - `sales_order_print_renderers` + - `sales_order_print_shipment_renderers` + - `sales_order_printcreditmemo` + - `sales_order_printinvoice` + - `sales_order_printshipment` + - `sales_order_reorder` + - `sales_order_shipment` + - `sales_order_shipment_renderers` + - `sales_order_view` + +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). + +### UI components + +- `view/adminhtml/ui_component`: + - `sales_order_creditmemo_grid` + - `sales_order_grid` + - `sales_order_invoice_grid` + - `sales_order_shipment_grid` + - `sales_order_view_creditmemo_grid` + - `sales_order_view_invoice_grid` + - `sales_order_view_shipment_grid` +- `view/base/ui_component`: + - `customer_form` + +For information about a UI component in Magento 2, see [Overview of UI components](https://devdocs.magento.com/guides/v2.4/ui_comp_guide/bk-ui_comps.html). + +### Public APIs + +`\Magento\Sales\Api\CreditmemoCommentRepositoryInterface`: + + - Get a specified credit memo comment by an id. + - Get all credit memo comments that match specified search criteria. + - Delete a specified credit memo comment. + - Performs persist operations for a specified entity. + +`\Magento\Sales\Api\CreditmemoItemRepositoryInterface`: + + - Loads a specified credit memo item. + - Get all credit memo items that match specified search criteria. + - Delete a specified credit memo item. + - Performs persist operations for a specified credit memo item. + +`\Magento\Sales\Api\CreditmemoManagementInterface`: + + - Cancels a specified credit memo. + - Get all comments for a specified credit memo. + - Notifies a user a specified credit memo. + - Prepare creditmemo to refund and save it. + +`\Magento\Sales\Api\CreditmemoRepositoryInterface`: + + - Loads a specified credit memo. + - Get all credit memos that match specified search criteria. + - Create credit memo instance. + - Deletes a specified credit memo. + - Performs persist operations for a specified credit memo. + +`\Magento\Sales\Api\InvoiceCommentRepositoryInterface`: + + - Loads a specified invoice comment. + - Get all invoice comments that match specified search criteria. + - Deletes a specified invoice comment. + - Performs persist operations for a specified invoice comment. + +`\Magento\Sales\Api\InvoiceItemRepositoryInterface`: + + - Loads a specified invoice item. + - Get all invoice items that match specified search criteria. + - Deletes a specified invoice item. + - Performs persist operations for a specified invoice item. + +`\Magento\Sales\Api\InvoiceManagementInterface`: + + - Sets invoice capture. + - Get all comments for a specified invoice. + - Notifies a user a specified invoice. + - Voids a specified invoice. + +`\Magento\Sales\Api\InvoiceRepositoryInterface`: + + - Loads a specified invoice. + - Get all invoices that match specified search criteria. + - Deletes a specified invoice. + - Performs persist operations for a specified invoice. + +`\Magento\Sales\Api\OrderAddressRepositoryInterface`: + + - Loads a specified order address. + - Get all order addresses that match specified search criteria. + - Deletes a specified order address. + - Performs persist operations for a specified order address. + +`\Magento\Sales\Api\OrderItemRepositoryInterface`: + + - Loads a specified order item. + - Get all order items that match specified search criteria. + - Deletes a specified order item. + - Performs persist operations for a specified order item. + +`\Magento\Sales\Api\OrderPaymentRepositoryInterface`: + + - Creates new Order Payment instance. + - Loads a specified order payment. + - Get all order payments that match specified search criteria. + - Deletes a specified order payment. + - Performs persist operations for a specified order payment. + +`\Magento\Sales\Api\OrderRepositoryInterface`: + + - Loads a specified order. + - Get all orders that match specified search criteria. + - Deletes a specified order. + - Performs persist operations for a specified order. + +`\Magento\Sales\Api\OrderStatusHistoryRepositoryInterface`: + + - Loads a specified order status comment. + - Get all order status history comments that match specified search criteria. + - Deletes a specified order status comment. + - Performs persist operations for a specified order status comment. + +`\Magento\Sales\Api\ShipmentCommentRepositoryInterface`: + + - Loads a specified shipment comment. + - Get all shipment comments that match specific search criteria. + - Deletes a specified shipment comment. + - Performs persist operations for a specified shipment comment. + +`\Magento\Sales\Api\ShipmentItemRepositoryInterface`: + + - Loads a specified shipment item. + - Get all shipment items that match specified search criteria. + - Deletes a specified shipment item. + - Performs persist operations for a specified shipment item. + +`\Magento\Sales\Api\ShipmentRepositoryInterface`: + + - Loads a specified shipment. + - Get all shipments that match specified search criteria. + - Deletes a specified shipment. + - Performs persist operations for a specified shipment. + - Creates new shipment instance. + +`\Magento\Sales\Api\ShipmentTrackRepositoryInterface`: + + - Loads a specified shipment track. + - Get all shipment tracks that match specified search criteria. + - Deletes a specified shipment track. + - Performs persist operations for a specified shipment track. + - Deletes a specified shipment track by ID. + +`\Magento\Sales\Api\TransactionRepositoryInterface`: + + - Loads a specified transaction. + - Get all transactions that match specified search criteria. + - Deletes a specified transaction. + - Performs persist operations for a specified transaction. + - Creates new Transaction instance. From c82095b78fc3d7115cd8a94a02fa07f23aa688aa Mon Sep 17 00:00:00 2001 From: CJ Date: Mon, 4 Jan 2021 17:39:46 +0530 Subject: [PATCH 02/15] updated readme file --- app/code/Magento/SalesAnalytics/README.md | 11 +++++++- app/code/Magento/SalesGraphQl/README.md | 31 ++++++++++++++++++++--- app/code/Magento/SalesInventory/README.md | 15 ++++++++++- 3 files changed, 52 insertions(+), 5 deletions(-) diff --git a/app/code/Magento/SalesAnalytics/README.md b/app/code/Magento/SalesAnalytics/README.md index 7b62229233969..cbc773f2afe88 100644 --- a/app/code/Magento/SalesAnalytics/README.md +++ b/app/code/Magento/SalesAnalytics/README.md @@ -1,3 +1,12 @@ # Magento_SalesAnalytics module -The Magento_SalesAnalytics module configures data definitions for a data collection related to the Sales module entities to be used in [Advanced Reporting](https://devdocs.magento.com/guides/v2.3/advanced-reporting/modules.html). +The **Magento_SalesAnalytics** module configures data definitions for a data collection related to the Sales module entities to be used in [Advanced Reporting](https://devdocs.magento.com/guides/v2.3/advanced-reporting/modules.html). + +## Installation details + +Before installing this module, note that the **Magento_SalesAnalytics** is dependent on the following modules: + +- Magento_Analytics +- Magento_Sales + +Please find here [how to enable or disable modules in Magento 2](https://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli-subcommands-enable.html). diff --git a/app/code/Magento/SalesGraphQl/README.md b/app/code/Magento/SalesGraphQl/README.md index d5717821b164c..09291b740e157 100644 --- a/app/code/Magento/SalesGraphQl/README.md +++ b/app/code/Magento/SalesGraphQl/README.md @@ -1,4 +1,29 @@ -# SalesGraphQl +# Magento_SalesGraphQl module -**SalesGraphQl** provides type and resolver information for the GraphQl module -to generate sales orders information. +The **Magento_SalesGraphQl** module provides type and resolver information for the GraphQl module to generate sales orders information. + +## Installation details + +Before installing this module, note that the **Magento_SalesGraphQl** is dependent on the following modules: + +- Magento_Catalog +- Magento_GraphQl +- Magento_Quote +- Magento_Sales +- Magento_Shipping +- Magento_Store +- Magento_Tax + +Please find here [how to enable or disable modules in Magento 2](https://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli-subcommands-enable.html). + +## Additional information + +For more information about the **Magento_SalesGraphQl** [Queries](#queries) and [Mutations](#mutations) see below: + +### Queries {#queries} + +- [`customerOrders`](https://devdocs.magento.com/guides/v2.4/graphql/queries/customer-orders.html) + +### Mutations {#mutations} + +- [`reorderItems`](https://devdocs.magento.com/guides/v2.4/graphql/mutations/reorder-items.html) diff --git a/app/code/Magento/SalesInventory/README.md b/app/code/Magento/SalesInventory/README.md index 915569ddd3ce2..5287df728ba82 100644 --- a/app/code/Magento/SalesInventory/README.md +++ b/app/code/Magento/SalesInventory/README.md @@ -1 +1,14 @@ -Magento_SalesInventory module allows retrieve and update stock attributes related to Magento_Sales, such as status and quantity. +# Magento_SalesInventory module + +The **Magento_SalesInventory** module allows retrieve and update stock attributes related to Magento_Sales, such as status and quantity. + +## Installation details + +Before installing this module, note that the **Magento_SalesInventory** is dependent on the following modules: + +- Magento_Catalog +- Magento_CatalogInventory +- Magento_Sales +- Magento_Store + +Please find here [how to enable or disable modules in Magento 2](https://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli-subcommands-enable.html). From a6b9fa056a747a17759ddc2c432fa6b5d91d50b3 Mon Sep 17 00:00:00 2001 From: chiranjeevi <52098385+chiranjeevi-cj@users.noreply.github.com> Date: Mon, 11 Jan 2021 20:04:21 +0530 Subject: [PATCH 03/15] Removed boldness --- app/code/Magento/Sales/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/code/Magento/Sales/README.md b/app/code/Magento/Sales/README.md index 83d76ced7da8e..35224fd37ee4e 100644 --- a/app/code/Magento/Sales/README.md +++ b/app/code/Magento/Sales/README.md @@ -1,17 +1,17 @@ # Magento_Sales module -The **Magento_Sales** module is responsible for order processing and appearance in system, **Magento_Sales** module manages next system entities and flows: +The Magento_Sales module is responsible for order processing and appearance in system, Magento_Sales module manages next system entities and flows: - order management, - invoice management, - shipment management (including tracks management), - credit memos management. -The **Magento_Sales** module is required for Magento_Checkout module to perform checkout operations. +The Magento_Sales module is required for Magento_Checkout module to perform checkout operations. ## Installation details -Before installing this module, note that the **Magento_Sales** is dependent on the following modules: +Before installing this module, note that the Magento_Sales is dependent on the following modules: - Magento_Authorization - Magento_Bundle @@ -65,9 +65,9 @@ For information about a typical file structure of a module in Magento 2, see [Mo ## Extensibility -Extension developers can interact with the **Magento_Sales** 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). +Extension developers can interact with the Magento_Sales 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). -[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_Sales** module. +[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_Sales module. ### Events From 87fcf933a3defa407f21b128a43230900e4f34ef Mon Sep 17 00:00:00 2001 From: chiranjeevi <52098385+chiranjeevi-cj@users.noreply.github.com> Date: Mon, 11 Jan 2021 20:05:11 +0530 Subject: [PATCH 04/15] Removed boldness --- app/code/Magento/SalesAnalytics/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/code/Magento/SalesAnalytics/README.md b/app/code/Magento/SalesAnalytics/README.md index cbc773f2afe88..11e38a13d8663 100644 --- a/app/code/Magento/SalesAnalytics/README.md +++ b/app/code/Magento/SalesAnalytics/README.md @@ -1,10 +1,10 @@ # Magento_SalesAnalytics module -The **Magento_SalesAnalytics** module configures data definitions for a data collection related to the Sales module entities to be used in [Advanced Reporting](https://devdocs.magento.com/guides/v2.3/advanced-reporting/modules.html). +The Magento_SalesAnalytics module configures data definitions for a data collection related to the Sales module entities to be used in [Advanced Reporting](https://devdocs.magento.com/guides/v2.3/advanced-reporting/modules.html). ## Installation details -Before installing this module, note that the **Magento_SalesAnalytics** is dependent on the following modules: +Before installing this module, note that the Magento_SalesAnalytics is dependent on the following modules: - Magento_Analytics - Magento_Sales From c5dcba5e79ff30f4c832d6c19d8648776613b104 Mon Sep 17 00:00:00 2001 From: chiranjeevi <52098385+chiranjeevi-cj@users.noreply.github.com> Date: Mon, 11 Jan 2021 20:06:05 +0530 Subject: [PATCH 05/15] Removed boldness --- app/code/Magento/SalesGraphQl/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/code/Magento/SalesGraphQl/README.md b/app/code/Magento/SalesGraphQl/README.md index 09291b740e157..c8f7764853282 100644 --- a/app/code/Magento/SalesGraphQl/README.md +++ b/app/code/Magento/SalesGraphQl/README.md @@ -1,10 +1,10 @@ # Magento_SalesGraphQl module -The **Magento_SalesGraphQl** module provides type and resolver information for the GraphQl module to generate sales orders information. +The Magento_SalesGraphQl module provides type and resolver information for the GraphQl module to generate sales orders information. ## Installation details -Before installing this module, note that the **Magento_SalesGraphQl** is dependent on the following modules: +Before installing this module, note that the Magento_SalesGraphQl is dependent on the following modules: - Magento_Catalog - Magento_GraphQl @@ -18,7 +18,7 @@ Please find here [how to enable or disable modules in Magento 2](https://devdocs ## Additional information -For more information about the **Magento_SalesGraphQl** [Queries](#queries) and [Mutations](#mutations) see below: +For more information about the Magento_SalesGraphQl [Queries](#queries) and [Mutations](#mutations) see below: ### Queries {#queries} From d18c8faed9a24697903ea500c7ba824db964ea06 Mon Sep 17 00:00:00 2001 From: chiranjeevi <52098385+chiranjeevi-cj@users.noreply.github.com> Date: Mon, 11 Jan 2021 20:08:23 +0530 Subject: [PATCH 06/15] Removed Boldness --- app/code/Magento/SalesInventory/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/code/Magento/SalesInventory/README.md b/app/code/Magento/SalesInventory/README.md index 5287df728ba82..216a6a712f01a 100644 --- a/app/code/Magento/SalesInventory/README.md +++ b/app/code/Magento/SalesInventory/README.md @@ -1,10 +1,10 @@ # Magento_SalesInventory module -The **Magento_SalesInventory** module allows retrieve and update stock attributes related to Magento_Sales, such as status and quantity. +The Magento_SalesInventory module allows retrieve and update stock attributes related to Magento_Sales, such as status and quantity. ## Installation details -Before installing this module, note that the **Magento_SalesInventory** is dependent on the following modules: +Before installing this module, note that the Magento_SalesInventory is dependent on the following modules: - Magento_Catalog - Magento_CatalogInventory From 0b988ac21f8fe0ae58567b49ae8595e9f7cafbef Mon Sep 17 00:00:00 2001 From: chiranjeevi <52098385+chiranjeevi-cj@users.noreply.github.com> Date: Mon, 11 Jan 2021 20:10:18 +0530 Subject: [PATCH 07/15] Removed boldness --- app/code/Magento/SalesInventory/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/SalesInventory/README.md b/app/code/Magento/SalesInventory/README.md index 216a6a712f01a..4a48e23821b31 100644 --- a/app/code/Magento/SalesInventory/README.md +++ b/app/code/Magento/SalesInventory/README.md @@ -1,6 +1,6 @@ # Magento_SalesInventory module -The Magento_SalesInventory module allows retrieve and update stock attributes related to Magento_Sales, such as status and quantity. +The Magento_SalesInventory module enables the retrieval and update of stock attributes related to Magento_Sales, such as status and quantity. ## Installation details From e66db8117546cc76203c76cb0b07105f61161623 Mon Sep 17 00:00:00 2001 From: chiranjeevi <52098385+chiranjeevi-cj@users.noreply.github.com> Date: Mon, 11 Jan 2021 20:12:36 +0530 Subject: [PATCH 08/15] Apply suggestions from code review Co-authored-by: Donald Booth --- app/code/Magento/Sales/README.md | 6 +++--- app/code/Magento/SalesAnalytics/README.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/code/Magento/Sales/README.md b/app/code/Magento/Sales/README.md index 35224fd37ee4e..ad84f29f0b9d7 100644 --- a/app/code/Magento/Sales/README.md +++ b/app/code/Magento/Sales/README.md @@ -36,7 +36,7 @@ Before installing this module, note that the Magento_Sales is dependent on the f - Magento_Widget - Magento_Wishlist -Before disabling or uninstalling this module, please consider the following dependencies: +Before disabling or uninstalling this module, note these dependencies: - Magento_Checkout - Magento_ConfigurableProduct @@ -53,7 +53,7 @@ Before disabling or uninstalling this module, please consider the following depe - Magento_Vault - Magento_Weee -Please find here [how to enable or disable modules in Magento 2](https://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli-subcommands-enable.html). +Refer to [how to enable or disable modules in Magento 2](https://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli-subcommands-enable.html) for more information. ## Structure @@ -61,7 +61,7 @@ Please find here [how to enable or disable modules in Magento 2](https://devdocs `CustomerData/` - It contains list of 5 salable products from the last placed order. `Exception/` - directory that contains exception classes. -For information about a typical file structure of a module in Magento 2, see [Module file structure](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/build/module-file-structure.html#module-file-structure). +For more information about the typical file structure of a module, see [Module file structure](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/build/module-file-structure.html#module-file-structure). ## Extensibility diff --git a/app/code/Magento/SalesAnalytics/README.md b/app/code/Magento/SalesAnalytics/README.md index 11e38a13d8663..e04d879956b63 100644 --- a/app/code/Magento/SalesAnalytics/README.md +++ b/app/code/Magento/SalesAnalytics/README.md @@ -9,4 +9,4 @@ Before installing this module, note that the Magento_SalesAnalytics is dependent - Magento_Analytics - Magento_Sales -Please find here [how to enable or disable modules in Magento 2](https://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli-subcommands-enable.html). +Refer to [how to enable or disable modules in Magento 2](https://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli-subcommands-enable.html) for more information. From 8e0ae759c8514f05e4084547c0015dacc6291f79 Mon Sep 17 00:00:00 2001 From: chiranjeevi <52098385+chiranjeevi-cj@users.noreply.github.com> Date: Mon, 11 Jan 2021 20:13:27 +0530 Subject: [PATCH 09/15] Update README.md --- app/code/Magento/SalesGraphQl/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/SalesGraphQl/README.md b/app/code/Magento/SalesGraphQl/README.md index c8f7764853282..6369b3df593e9 100644 --- a/app/code/Magento/SalesGraphQl/README.md +++ b/app/code/Magento/SalesGraphQl/README.md @@ -14,7 +14,7 @@ Before installing this module, note that the Magento_SalesGraphQl is dependent o - Magento_Store - Magento_Tax -Please find here [how to enable or disable modules in Magento 2](https://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli-subcommands-enable.html). +Refer to [how to enable or disable modules in Magento 2](https://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli-subcommands-enable.html). ## Additional information From 0f4f6a24ac2effe2738d86589225720122a8d5dd Mon Sep 17 00:00:00 2001 From: chiranjeevi <52098385+chiranjeevi-cj@users.noreply.github.com> Date: Mon, 11 Jan 2021 20:14:01 +0530 Subject: [PATCH 10/15] Update README.md --- app/code/Magento/SalesInventory/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/SalesInventory/README.md b/app/code/Magento/SalesInventory/README.md index 4a48e23821b31..a30ac28052793 100644 --- a/app/code/Magento/SalesInventory/README.md +++ b/app/code/Magento/SalesInventory/README.md @@ -11,4 +11,4 @@ Before installing this module, note that the Magento_SalesInventory is dependent - Magento_Sales - Magento_Store -Please find here [how to enable or disable modules in Magento 2](https://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli-subcommands-enable.html). +Refer to [how to enable or disable modules in Magento 2](https://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli-subcommands-enable.html). From bb80b7d5fa464931975086a7ae0f1fadb7d4cbbe Mon Sep 17 00:00:00 2001 From: chiranjeevi <52098385+chiranjeevi-cj@users.noreply.github.com> Date: Mon, 11 Jan 2021 20:38:17 +0530 Subject: [PATCH 11/15] Update README.md --- app/code/Magento/Sales/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/code/Magento/Sales/README.md b/app/code/Magento/Sales/README.md index ad84f29f0b9d7..cde0f78acfb23 100644 --- a/app/code/Magento/Sales/README.md +++ b/app/code/Magento/Sales/README.md @@ -124,7 +124,7 @@ The module dispatches the following events: - `sales_order_payment_cancel` event in the `\Magento\Sales\Model\Order\Payment::cancelInvoice()` method. Parameters: - `payment` is a Payment object (`\Magento\Sales\Model\Order\Payment` class). -For information about the event system in Magento 2, see [Events and observers](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/events-and-observers.html#events). +For information about the event system, see [Events and observers](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/events-and-observers.html#events). ### Layouts @@ -254,7 +254,7 @@ This module introduces the following layouts and layout handles in the directori - `sales_order_shipment_renderers` - `sales_order_view` -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). +For more information about a layout, see the [Layout documentation](https://devdocs.magento.com/guides/v2.4/frontend-dev-guide/layouts/layout-overview.html). ### UI components @@ -269,7 +269,7 @@ For more information about a layout in Magento 2, see the [Layout documentation] - `view/base/ui_component`: - `customer_form` -For information about a UI component in Magento 2, see [Overview of UI components](https://devdocs.magento.com/guides/v2.4/ui_comp_guide/bk-ui_comps.html). +For information about a UI component, see [Overview of UI components](https://devdocs.magento.com/guides/v2.4/ui_comp_guide/bk-ui_comps.html). ### Public APIs From 66bb5030c28635471f05f7deb373dbf10af38baf Mon Sep 17 00:00:00 2001 From: chiranjeevi <52098385+chiranjeevi-cj@users.noreply.github.com> Date: Mon, 11 Jan 2021 21:07:35 +0530 Subject: [PATCH 12/15] Update README.md --- app/code/Magento/Sales/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/Sales/README.md b/app/code/Magento/Sales/README.md index cde0f78acfb23..9d07640f55043 100644 --- a/app/code/Magento/Sales/README.md +++ b/app/code/Magento/Sales/README.md @@ -53,7 +53,7 @@ Before disabling or uninstalling this module, note these dependencies: - Magento_Vault - Magento_Weee -Refer to [how to enable or disable modules in Magento 2](https://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli-subcommands-enable.html) for more information. +For information about enabling or disabling a module, see [Enable or disable modules](https://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli-subcommands-enable.html). ## Structure From 71701e631cc5f9335c78f0cfa2f45ec9f2dc3e9a Mon Sep 17 00:00:00 2001 From: chiranjeevi <52098385+chiranjeevi-cj@users.noreply.github.com> Date: Mon, 11 Jan 2021 21:07:51 +0530 Subject: [PATCH 13/15] Update README.md --- app/code/Magento/SalesAnalytics/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/SalesAnalytics/README.md b/app/code/Magento/SalesAnalytics/README.md index e04d879956b63..b64429572a991 100644 --- a/app/code/Magento/SalesAnalytics/README.md +++ b/app/code/Magento/SalesAnalytics/README.md @@ -9,4 +9,4 @@ Before installing this module, note that the Magento_SalesAnalytics is dependent - Magento_Analytics - Magento_Sales -Refer to [how to enable or disable modules in Magento 2](https://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli-subcommands-enable.html) for more information. +For information about enabling or disabling a module, see [Enable or disable modules](https://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli-subcommands-enable.html). From 72071c6bbd360a136f182f52cf29248785bc34e6 Mon Sep 17 00:00:00 2001 From: chiranjeevi <52098385+chiranjeevi-cj@users.noreply.github.com> Date: Mon, 11 Jan 2021 21:08:55 +0530 Subject: [PATCH 14/15] Update README.md --- app/code/Magento/SalesGraphQl/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/SalesGraphQl/README.md b/app/code/Magento/SalesGraphQl/README.md index 6369b3df593e9..0ff99630f10c4 100644 --- a/app/code/Magento/SalesGraphQl/README.md +++ b/app/code/Magento/SalesGraphQl/README.md @@ -14,7 +14,7 @@ Before installing this module, note that the Magento_SalesGraphQl is dependent o - Magento_Store - Magento_Tax -Refer to [how to enable or disable modules in Magento 2](https://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli-subcommands-enable.html). +For information about enabling or disabling a module, see [Enable or disable modules](https://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli-subcommands-enable.html). ## Additional information From 3b36d2c018e91760065916933e29b671231ca1ca Mon Sep 17 00:00:00 2001 From: chiranjeevi <52098385+chiranjeevi-cj@users.noreply.github.com> Date: Mon, 11 Jan 2021 21:09:31 +0530 Subject: [PATCH 15/15] Update README.md --- app/code/Magento/SalesInventory/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/Magento/SalesInventory/README.md b/app/code/Magento/SalesInventory/README.md index a30ac28052793..d00a3bc478906 100644 --- a/app/code/Magento/SalesInventory/README.md +++ b/app/code/Magento/SalesInventory/README.md @@ -11,4 +11,4 @@ Before installing this module, note that the Magento_SalesInventory is dependent - Magento_Sales - Magento_Store -Refer to [how to enable or disable modules in Magento 2](https://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli-subcommands-enable.html). +For information about enabling or disabling a module, see [Enable or disable modules](https://devdocs.magento.com/guides/v2.4/install-gde/install/cli/install-cli-subcommands-enable.html).