Introducing Commerce Server Web Parts

To create a page for an e-commerce site, you add Web Parts to the page and set their properties to allow the Web Parts to display and communicate information to the shopper and to the Microsoft Multi-Channel Commerce Foundation. Web Parts are ASP.NET server controls. You add them to Web Part zones on Web Part pages at run time. To edit a Web page, use the SharePoint Edit Page option. This displays a page in Edit mode. For most site pages that do not have a specific template applied, a blank page will appear with an "Add a Web Part" title. If you use a template, some formatting or image content may appear as well. As you build a page with Web Parts, the Web Parts will appear laid out in the standard SharePoint 2010 layout, based on the page design template that you use.

Dd451458.alert_caution(en-us,CS.95).gifImportant Note:

When using Commerce Server 2009 R2 Web Parts, applying changes directly on the production site might have unexpected effects. The best practice is to build a staging version of the site and changes can be made on that site. Once approved, the changes can be pushed to production using SharePoint 2010 Content Deployment.

To add a new Web Part to a page, click the "Add a Web Part" title when in Edit mode. This opens the Add Web Parts page with a list of all valid Web Parts, as the following figure shows:

Dd451458.vugaddawebpart(en-us,CS.95).gif

To add one of the displayed Web Parts to the page, from the Web Part list, select the checkbox that is next to the Web Part that you want to add, and then click Add.

Most Web Parts are based on XSLT and provide business users and site designers the ability to quickly change the look and feel of the Web Part’s display. In most cases, this is through the ability to choose a template from a template library drop-down list. These libraries are implemented as SharePoint document lists. In select cases, direct editing of the XSLT is required. You can modify the XSLT directly within SharePoint or by using SharePoint Designer.

Note

Changes to the XSLT file are not applied until the XSLT is checked into SharePoint 2010.

In This Section

See Also

Other Resources

Commerce Server Web Parts

Developing with SharePoint Commerce Services