Tutorials > Customize the Consumer Direct sample store > Add a new Change Flow feature
Enable the feature by default in a multiple-site environment
In the preceding steps of the tutorial, you have added a new configurable feature to the consumer direct sample store. As noted in Storefront customization in WebSphere Commerce, in a multiple-site environment, such as extended sites, you would have added this feature to the appropriate storefront asset store, such as the storefront asset store, instead. As a result, any store based on the storefront asset store would have the option to enable or disable this feature. In this step of the tutorial, we will enable the feature by default in all such stores.
Procedure
- Navigate to the following directory:
- WC_eardi../images/locale/screensnap/Stores.war/WEB-INF/ xml/tools/stores/ConsumerDirectStorefrontAssetStore/devtools/flow/fsf
- workspace_dir\wc\Stores\Web Content\WEB-INF\xml\tools\stores\ ConsumerDirectStorefrontAssetStore\devtools\flow\fsf
- Open the Feature Selection File, fsf.xml, for editing. Add the following line immediately before the closing tag of the selected-features element:
<feature />
- Save and close the file.
- Navigate to the following directory:
- WC_eardi../images/locale/screensnap/Stores.war/WEB-INF/xml/tools/stores/ConsumerDirectStorefrontAssetStore/devtools/flow/scf
- workspace_dir\wc\Stores\Web Content\WEB-INF\xml\tools\stores\ ConsumerDirectStorefrontAssetStore\devtools\flow\scf
- Open the Site Configuration File, scf.xml, for editing.
- Add the following line immediately before the closing tag of the features element:
<feature />
- Save and close the file.