Tutorial: customizing theWebSphere Commerce pricing engine for integration

The Sterling Order Management system can be integrated with the pricing services of WebSphere® Commerce to calculate the price of products.

By default, the WebSphere Commerce price services calculate pricing based on quality, base offer prices, and price rules, if applicable. For merchants who sell gift cards online, the price for the gift card is not only related to the quantity of the gift card, it is also related to the value points of the card. The value points for a gift card is like the face value of money. The shopper uses the value points, like cash, to buy products in the store.

In this tutorial, we customize the WebSphere Commerce price services and pricing engine to support the additional value points parameter passed by the Sterling Order Management. With this new parameter, the WebSphere Enterprise Service Bus, and Sterling Order Management need customizing as well.

Learning objectives

After completing this tutorial, you should be familiar with the following concepts:
  • Understand how Sterling Order Management integrates with WebSphere Commerce
After completing this tutorial, you should be familiar with the following tasks:
  • Understand how to customize the WebSphere Commerce pricing engine and pricing service
  • Understand how to customize the WebSphere Enterprise Service Bus

This tutorial does not address how to extend Sterling Order Management to pass new parameters. For information on passing parameters, search the customization topics in this Information Center.

Time required

This tutorial should take approximately 4 hours to finish. If you explore other concepts related to this tutorial, it can take longer to complete.

Skill level

Advanced

Audience

This tutorial is intended for advanced WebSphere Commerce developers responsible for integrating and customizing WebSphere Commerce with Sterling Order Management.

System requirements

Before beginning this tutorial, ensure that you have done the following prerequisites:
  • Install WebSphere Commerce Developer
  • Install WebSphere Integration Developer
  • Have access to a WebSphere Enterprise Service Bus server

Prerequisites

To complete this tutorial, you should be familiar with the following terms and concepts:
  • WebSphere Commerce Developer
  • An understanding of the Java™ programming language
  • A basic understanding of Enterprise JavaBeans
  • A basic understanding of XML
  • A basic understanding of WebSphere Enterprise Service Bus
  • A basic understanding of WebSphere Commerce distributed order management integration with Sterling Order Management.
  • Ensure that you download and extract the CustomizeGetEntitledPrice.zip file to a temporary directory. This file contains code samples required to complete this tutorial. You can get this file here: CustomizeGetEntitledPrice.zip