Feature Pack 5 or later

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

Feature Pack 5 or later This tutorial shows you how to customize WebSphere Commerce to serve the day-of-month recurring order schedule type in the Aurora starter store. 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 Madisons starter store.

System requirements

Before you start this tutorial, ensure that you completed the following prerequisites:

Prerequisites

To complete this tutorial, familiarize yourself with the following terms and concepts:
  • WebSphere Commerce services
  • Java
  • JSP
  • JavaScript
  • SQL
  • XML