|
1 |
| -Magento_GroupedProduct module provides ability to offer several standalone products for sale as a group on the same Product Detail page. |
| 1 | +# Magento_GroupedProduct module |
| 2 | + |
| 3 | +This module introduces new product type in the Magento application named Grouped Product. |
| 4 | +It provides ability to offer several standalone products for sale as a group on the same Product Detail page. |
2 | 5 | It can offer variations of a product, or group them by season or theme to create a coordinated set.
|
3 | 6 | Products can be purchased separately or as a set.
|
4 | 7 | Each product purchased appears in the Shopping Cart as a separate item.
|
| 8 | + |
5 | 9 | This module extends the existing functionality of Magento_Catalog module by adding new product type.
|
| 10 | + |
| 11 | +## Installation details |
| 12 | + |
| 13 | +Before installing this module, note that the Magento_GroupedProduct module is dependent on the following modules: |
| 14 | +- `Magento_Catalog` |
| 15 | +- `Magento_CatalogInventory` |
| 16 | +- `Magento_Sales` |
| 17 | +- `Magento_Quote` |
| 18 | + |
| 19 | +Before disabling or uninstalling this module, note that the following modules depends on this module: |
| 20 | +- `Magento_GroupedCatalogInventory` |
| 21 | +- `Magento_GroupedProductGraphQl` |
| 22 | +- `Magento_MsrpGroupedProduct` |
| 23 | + |
| 24 | +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). |
| 25 | + |
| 26 | +## Structure |
| 27 | + |
| 28 | +`Pricing/` - the directory that contains solutions for grouped product price. |
| 29 | + |
| 30 | +For information about a typical file structure of a module in Magento 2, see [Module file structure](http://devdocs.magento.com/guides/v2.4/extension-dev-guide/build/module-file-structure.html#module-file-structure). |
| 31 | + |
| 32 | +## Extensibility |
| 33 | + |
| 34 | +Extension developers can interact with the Magento_GroupedProduct module. For more information about the Magento extension mechanism, see [Magento plugins](https://devdocs.magento.com/guides/v2.4/extension-dev-guide/plugins.html). |
| 35 | + |
| 36 | +[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_GroupedProduct module. |
| 37 | + |
| 38 | +### Layouts |
| 39 | + |
| 40 | +This module introduces the following layouts in the `view/frontend/layout`, `view/adminhtml/layout` and `view/base/layout` directories: |
| 41 | +- `view/adminhtml/layout`: |
| 42 | + - `catalog_product_grouped` |
| 43 | + - `catalog_product_new` |
| 44 | + - `catalog_product_view_type_grouped` |
| 45 | + - `groupedproduct_edit_popup` |
| 46 | + - `groupedproduct_popup_grid` |
| 47 | + - `sales_order_creditmemo_new` |
| 48 | + - `sales_order_creditmemo_updateqty` |
| 49 | + - `sales_order_creditmemo_view` |
| 50 | + - `sales_order_invoice_new` |
| 51 | + - `sales_order_invoice_updateqty` |
| 52 | + - `sales_order_invoice_view` |
| 53 | + - `sales_order_view` |
| 54 | +- `view/frontend/layout`: |
| 55 | + - `catalog_product_rss_feed_renderer_list` |
| 56 | + - `catalog_product_view_type_grouped` |
| 57 | + - `checkout_cart_item_renderers` |
| 58 | + - `checkout_onepage_review_item_renderers` |
| 59 | + - `sales_email_order_creditmemo_renderers` |
| 60 | + - `sales_email_order_invoice_renderers` |
| 61 | + - `sales_email_order_renderers` |
| 62 | + - `sales_guest_invoice` |
| 63 | + - `sales_order_creditmemo_renderers` |
| 64 | + - `sales_order_invoice_renderers` |
| 65 | + - `sales_order_item_renderers` |
| 66 | + - `sales_order_print_creditmemo_renderers` |
| 67 | + - `sales_order_print_renderers` |
| 68 | +- `view/base/layout`: |
| 69 | + - `catalog_product_prices` |
| 70 | + |
| 71 | +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). |
| 72 | + |
| 73 | +### UI components |
| 74 | + |
| 75 | +You can extend a grouped product listing updates using the configuration files located in the `view/adminhtml/ui_component` directory: |
| 76 | +- `grouped_product_listing` |
| 77 | + |
| 78 | +This module extends widgets ui components the configuration files located in the `view/frontend/ui_component` directory: |
| 79 | +- `widget_recently_compared` |
| 80 | +- `widget_recently_viewed` |
| 81 | + |
| 82 | +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). |
| 83 | + |
| 84 | +### Public APIs |
| 85 | + |
| 86 | +- `\Magento\GroupedProduct\Api\Data\GroupedOptionsInterface` |
| 87 | + - represents `product item id with qty` of a grouped product |
| 88 | + |
| 89 | +For information about a public API in Magento 2, see [Public interfaces & APIs](http://devdocs.magento.com/guides/v2.4/extension-dev-guide/api-concepts.html). |
| 90 | + |
| 91 | +## Additional information |
| 92 | + |
| 93 | +For more information about creating grouped product, see [Creating Grouped Product](https://docs.magento.com/user-guide/catalog/product-create-grouped.html). |
0 commit comments