Tutorial 3 - Customizing orders
Tutorial 3 - Customizing orders
This tutorial demonstrates how you can extend the order and shopping cart domain objects to support an automatic renewal feature.
"Scenario: An anti-virus software company is using a subscription-based model to license its product (subscribe for 6 months, 12 months, etc.). At checkout, the customer must be able to choose to renew their subscription automatically when it expires. If the customer chooses this option, they will be automatically billed at the end of their subscription period."
In this tutorial, you will:
- extend the Order and ShoppingCart domain objects in the Elastic Path Core
- create a table in the database schema and add a column to an existing table using Liquibase
- modify the Order ORM configuration to persist the extended Order domain object
- extend the Storefront's checkout process to enable customers to select the automatic renewal feature
- modify Velocity templates to include the automatic renewal feature
- extend the Commerce Manager Client to display the automatic renewal feature to customer service representatives
- demoing your extensions to prove the correctness of previous steps