Introduced in Feature Pack 2

Tutorial: Adding day-of-month scheduling support for recurring orders

Introduced in Feature Pack 2 This tutorial shows you how to customize WebSphere Commerce to serve the day-of-month recurring order schedule type. For example, to allow customers to schedule a recurring order on the fifth of every month. The WebSphere Commerce schema is updated to store the new schedule type information. The Subscription service is updated to include the new user data in the Subscription noun.
The Subscription noun part uses the UserData element as a data extension point to add new data without changing the logical model. In this tutorial, new scheduler information is added to the ScheduleInfo UserData element. A schedule type is specific to a recurring order and consists of the information that is required for this scheduler.

The following ScheduleInfo noun part example shows the customization of the ScheduleInfo UserData element.

Learning objectives

After completing this tutorial, you will be able to:
  • Extend the noun part to include custom data.
  • Extend the scheduler to include a new type that is used for subscription.
  • Update the recurring order and checkout JSP and JavaScript files to accept the new schedule type.

Time required

Expect this tutorial to take about 3 hours to complete.

Skill level

Advanced

Audience

This tutorial is intended for WebSphere Commerce developers responsible for customizing the WebSphere Commerce services and customizing the Deprecated featureMadisons starter store.

System requirements

Before you begin this tutorial, ensure that you complete the following prerequisites:

Prerequisites

To complete this tutorial, you should be familiar with the following terms and concepts:
  • WebSphere Commerce services
  • Java
  • JSP
  • JavaScript
  • SQL
  • XML