Modifying the Aurora starter store to show the day-of-month
scheduling option
In this step, you modify
the Aurora 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 details
that are required for 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 > Aurora > ShoppingArea > CheckoutSection.
Locate the following code <select> element
with id="ScheduleOrderFrequency" which lists the frequency
options available when scheduling a recurring order: Modify it from
Copy and replace RecurringOrderCheckoutDisplayExt.jsp file
from temp\Madisons\ShoppingArea\CheckoutSection to Stores\Aurora\ShoppingArea\CheckoutSection
Add the new text in the storetext_v2.properties file.
In the Enterprise Explorer view, expand Stores > Java Resources:src > Aurora.
Open the storetext_v2.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.