Modifying the existing Deprecated featureMadisons starter store to expose the
day-of-month scheduling option
In this step, you modify the Deprecated featureMadisons starter store JSP
and JavaScript files to accept the frequency and the day-of-month parameters for the scheduled
recurring order. In particular, you modify the checkout page to accept the day-of-month schedule
type.
Procedure
Modify the checkout page JSP to include the every month schedule option
with a day-of-month selection box.
In the Enterprise Explorer view, expand Stores > WebContent > Madisons > ShoppingArea > CheckoutSection.
Find the following <select> element with id="ScheduleOrderFrequency" that
lists the frequency options available for scheduling a recurring order: Modify it from
Copy the RecurringOrderCheckoutDisplayExt.jsp file from
temp\Madisons\ShoppingArea\CheckoutSection and paste to
Stores\Madisons\ShoppingArea\CheckoutSection directory.
Add the new text in the storetext.properties file.
In the Enterprise Explorer view, expand Stores > Java Resources:src > Madisons.
Open the storetext.properties file.
Add the following properties to the end of the file:
SCHEDULE_ORDER_INTERVAL_7 = Every Month
SCHEDULE_ORDER_DAY_OF_MONTH = Day of Month
SCHEDULE_ORDER_DURATION = Duration
SCHEDULE_ORDER_X_MONTHS = {0} Months
Results
The following screen captures show the result of the customization.
Add the day of month schedule support on the Shipping and Billing
page. Display the details of the selected day-of-month
scheduling on the Order Summary page