@daffodil/product-configurable
simplifies the management of configurable products and is intended for use in conjunction with @daffodil/product
.
To install @daffodil/product-configurable
, use the following commands in your terminal.
Install with npm:
npm install @daffodil/product-configurable --save
Install with yarn:
yarn add @daffodil/product-configurable
Import the DaffConfigurableProductStateModule
. This module will add the DAFF_CONFIGURABLE_PRODUCT_STORE_FEATURE_KEY
to the app root redux state along with configurable product state.