Customizing the Checkout Confirmation pages

All order confirmation information at checkout is available on the Placed Orders and Order Confirmation pages. If the merchant wants to change some features on these UIs, VTEX also offers the option of customizing them.

Order Placed page example:

32393239

In the Checkout section, located in the Admin VTEX side menu, you can access one or more websites (stores) registered in your account and perform checkout settings, including UI customization.

By clicking on the blue gear button of the chosen website, and selecting the Code tab, you will have access to a list of files and templates, where you can edit or import the HTML information.

📘

The same files shown in the Code tab are publicly available in the route https://{accountName}.myvtex.com/files/

Edit Information

To edit Checkout confirmation UI information, access the following templates:

  • checkout-confirmation-bottom
  • checkout-confirmation-footer
  • checkout-confirmation-header
  • checkout-confirmation-top

Code tab view:

12871287

🚧

It is important to note that any customization performed on the templates will be applied to both pages at the same time (Order Placed and Order Confirmation).

Template areas on the page:

32393239

Customizing styles

You can also edit the Checkout Confirmation interface via CSS classes. Your styles should be added in a <stile> tag in one of the HTML templates loaded on the page.

CSS class areas on the page:

32393239

To customize the Checkout Confirmation styles, use the following classes:

.cconf-alert // Confirmation alert
.cconf-client-email // Element that carries customer's email
.cconf-address // Card with order address
.cconf-payment // Card with payment method
.cconf-summary // Card with order summary
.cconf-product-table // Table with product's orders
.cconf-product // Table's line with order
.cconf-continue-button // Button leading back to the store

JS customization

The page may also be changed through Javascript using the files checkout-confirmation-custom.js or checkout-confirmation-custom4.js (depending on the version of Checkout confirmation you are using, v3 or v4), which can be accessed by selecting the Code tab at the Admin.


Did this page help you?