Final configuration
To complete your Sitecore Commerce configuration, you perform the following tasks:
must update the Sitecore web.config files with Commerce Server-specifi
c settings, configure basic Storefront settings, then publish and index your site.
Update the Sitecore web.config files
You must update the web.config files with Commerce Server-specific settings.
To update the web.config files:
- Go to the location of the Sitecore site on your hard drive.
- Go to the Website folder and open the
web.config
file. - Navigate to the \Website\MergeFiles folder.
- Merge the contents of the
Merge.CommerceServer.config
file into theweb.config
file. - Merge the contents of
Merge.Commerce.Storefront.config
file into theweb.config
file.
- Merge the contents of the
- Save your changes to the
web.config
file. - Navigate to the Website\Views folder.
- Open the
Web.config
file. - Navigate to the \Website\MergeFiles\Views\ folder.
- Merge the contents of the
Merge.web.config
file into theWeb.config
file. - Save your changes to the
Web.config
file.
Configure basic settings in the sample Storefront site
You can set basic parameters for your sample site in the Sitecore Content Editor.
- Log in to the Sitecore desktop at http://cf .reference.storefront.com/sitecore/login and open the Content Editor.
- Navigate to /sitecore/Sitecore Commerce/Catalog Management/Catalogs and ensure that the Habitat_Master option is checked in the Selected Catalogs section (under Commerce).
- Optionally, navigate to the Countries/Regions window in the Commerce Control Panel (/sitecore/Sitecore Commerce/Commerce Control Panel/Shared Settings/Countries-Regions) and add new entries for Countries/Regions, States/Provinces codes you want to support on the site. Sitecore Commerce uses these codes to populate address information on the sample site.
Publish the sample Storefront site
In the Sitecore Content Editor, on the Publish tab, click the Publish drop-down arrow
and then click Publish Site.
- In the Sitecore Content Editor, select the Publish tab.
- Click the Publish drop-down arrow and select Publish Site from the drop-down menu.
- Follow the instructions in the Publish Wizard to publish your site.
Reindex the Sitecore and Commerce Server indexes
After publishing your website, you must rebuild the main Sitecore and Commerce Server search indexes.
To rebuild the indexes:
- On the Sitecore Launchpad, click Control Panel.
- In the Indexing section of the Control Panel, click Indexing manager.
- In the Indexing Manager dialog box, select the following indexes:
- Sitecore_core_index
- Sitecore_master_index
- Sitecore_web_index
- Commerce_products_master_index
- Commerce_products_web_index
3. Click Rebuild.