test-magenx / module-configurable-product
N/A
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- php: ~7.3.0||~7.4.0
- magento/framework: 103.0.*
- magento/module-backend: 102.0.*
- magento/module-catalog: 104.0.*
- magento/module-catalog-inventory: 100.4.*
- magento/module-checkout: 100.4.*
- magento/module-customer: 103.0.*
- magento/module-eav: 102.1.*
- magento/module-media-storage: 100.4.*
- magento/module-quote: 101.2.*
- magento/module-store: 101.1.*
- magento/module-ui: 101.2.*
Suggests
- magento/module-configurable-sample-data: Sample Data version: 100.4.*
- magento/module-msrp: 100.4.*
- magento/module-product-links-sample-data: Sample Data version: 100.4.*
- magento/module-product-video: 100.4.*
- magento/module-sales: 103.0.*
- magento/module-sales-rule: 101.2.*
- magento/module-tax: 100.4.*
- magento/module-webapi: 100.4.*
This package is auto-updated.
Last update: 2024-11-13 07:25:51 UTC
README
The Magento_ConfigurableProduct module introduces new product type in the Magento application called Configurable Product. This module is designed to extend existing functionality of Magento_Catalog module by adding new product type.
Configurable Products let the customers select the variant they desire by choosing options. For example, store owner sells t-shirts in two colors and three sizes.
Structure
ConfigurableProduct/
- the directory that declares ConfigurableProduct metadata used by the module.
For information about a typical file structure of a module in Magento 2, see Module file structure.
Extensibility
Extension developers can interact with the Magento_ConfigurableProduct 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_ConfigurableProduct module.
Additional information
Configurable variables through the theme view.xml
Modify the value of the gallery_switch_strategy
variable in the theme view.xml file to configure how gallery images should be updated when a user switches between product configurations.
Learn how to configure variables in the view.xml file.
There are two available values for the gallery_switch_strategy
variable:
If the gallery_switch_strategy
variable is not defined, the default value replace
will be used.
For example, adding these lines of code to the theme view.xml file will set the gallery behavior to replace
mode.
<vars module="Magento_ConfigurableProduct"> <var name="gallery_switch_strategy">replace</var> </vars>