Tutorial: Adding day-of-month scheduling support for recurring orders
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 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
AdvancedAudience
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:- Installed WebSphere Commerce Developer Version 7.
- Published the Aurora starter store.
- Downloaded and extracted the sample tutorial code, Tutorial_recurring_orders.zip, to a temporary location on your hard disk.
- Stop WebSphere Commerce Test Server and start only after all the steps are finished.
Prerequisites
To complete this tutorial, familiarize yourself with the following terms and concepts:- WebSphere Commerce services
- Java
- JSP
- JavaScript
- SQL
- XML