Skip to main content
How-to

Overview

This document will summarize the process of adding custom content to your checkout screens. There are templates for the various checkout screens which define the layout of the pages.

Step 1 - Accessing the storefront checkout templates

![Storefronts - Templates -Checkout.PNG](pathname:///confluence/1377406/Storefronts - Templates -Checkout.PNG)

Step 2 - Edit Template

Next select the template to which you wish to add the custom content (then click on the blue button in top right side above the template editor to change to fullscreen mode, for easier editing.

![Docs Edit template.PNG](pathname:///confluence/1377406/Docs Edit template.PNG)

Step 3 - Add the custom source code to the template

When editing the template you will edit the template using velocity and/or HTML code. In our example we are adding basic HTML tags to display the customer testimonial:

## Customer Testimonial
<center>
<h3> Mr Tea's offers the best tea at the best possible price!</h3>
<p>"I've been buying my tea from Mr. Teas for more than 2 years now. <br />
The quality of their tea is top notch, matched only by their super low pricing <br />
and swift delivery. I highly recommend Mr Tea's for all my tea drinking friends!" <br />
- Rocky Balboa</p>
</center>

View in the template editor:

![testimonial added to template source.PNG](pathname:///confluence/1377406/testimonial added to template source.PNG)

Upon saving you will see a dialog window stating:

![Template editing - on save- dialog message.PNG](pathname:///confluence/1377406/Template editing - on save- dialog message.PNG)

You'll want to select okay to save the changes.

info

For potential merge update conflicts see: Handling merge conflicts resulting from Theme Upgrade

Step 4 - Viewing the changes to the template

After saving the changes, navigate to the storefront and add an item to the cart to view the updated view_cart.vm:

![View of testimonial rendering in the view cart page.PNG](pathname:///confluence/1377406/View of testimonial rendering in the view cart page.PNG)

Congratulations, you've successfully added custom content to the checkout templates!

Was this page helpful?