Tutorial 1 - Adding a static page to the Storefront
Tutorial 1 - Adding a static page to the Storefront
This tutorial demonstrates how to create a static HTML page, map the page to a URL, and create a link to the page from one of the Storefront's Velocity templates.
"Scenario: Your organization needs to add a privacy policy page to the storefront. You can create a static HTML page since the content of the privacy policy page is not likely to change often and does not require any interaction with Elastic Path."
In this tutorial, you will:
- create a static page containing the privacy policy for the Snap It Up demo store
- add a URL mapping and page controller bean definition to the Storefront to display the private policy page when the privacy.ep URL is requested
- modify the Privacy Policy link in the footer template to point to the privacy.ep URL
- deploy your customizations to the Storefront server