How to Create a New Orders Pipeline Component

Commerce Server Core Systems pipelines provide an infrastructure for running a sequence of pipeline components. Although Commerce Server Core Systems provides many pipeline components for performing standard business functions, you might have to write your own pipeline components to meet the needs of your business. For more information about pipelines, see Developing with Core Systems Pipelines.

The Orders System uses the following pipelines:

  • The basket pipeline checks whether information about each item, such as price or availability, has changed since the user added the item to the shopping cart.

  • The total pipeline divides the order into shipments and calculates the total price of the order.

  • The checkout pipeline processes the payments and completes the checkout process.

If you need to customize any of these processes, you can add or remove pipeline components that Commerce Server Core Systems provides. If a built-in component is not suited, you can create your own pipeline component.

The following procedure provides an overview of the steps that you must follow to create a new pipeline component. For detailed instructions about performing each step, see How to Build Pipeline Components Using C#.

To create an Orders pipeline component

  1. Create a new Visual Studio 2008 class library project and configure it to register with COM, include the correct references, and add the correct using directives.

  2. Provide the correct attributes for your new pipeline class.

  3. Implement and build your pipeline component.

  4. Register your pipeline component with Commerce Server Core Systems, including establishment of its pipeline stage affinity.

  5. Deploy your pipeline component to the Commerce Server Core Systems computer or computers on which it will run.

See Also

Other Resources

Building Pipeline Components

Core Orders System Pipelines

Orders System Design-Time Scenarios