Skip to content
HTML Templates For Developers

Tillway — Checkout Page Template

A single-page checkout with accordion steps, live card formatting, inline validation, a collapsible order summary and a demo confirmation screen.

FreeVanilla HTMLOne-page
Tillway — Checkout Page Template — template preview

Live preview

This is the actual template running in a sandbox, shown at 1280px wide.

Description

Tillway is a one-page checkout for a fictional homeware shop, designed around the idea that a checkout should feel short. Contact, shipping address, delivery method and payment live in four accordion steps; each collapses to a one-line summary with a check mark once it is complete, and any step can be reopened to edit it.

Fields format and validate as the shopper types. Card numbers group in fours (or 4-6-5 for numbers starting 34 or 37), expiry becomes MM / YY, the security code adapts its length and the number is checked with the Luhn algorithm. Postal codes are checked per country, errors appear under the field and focus moves to the first problem on submit.

The order summary sits beside the form on desktop and collapses behind a total-bearing toggle on mobile. A discount code, delivery prices, tax and the final total all recalculate live. The page is clearly labelled as a demonstration at the top, beside the card fields and under the button, and the confirmation screen says that no payment was processed and no order was placed.

Key features

  • Four accordion steps with completed summaries and a check mark
  • Card number formatting with a separate 4-6-5 pattern for 34 and 37 prefixes
  • Expiry formatted as MM / YY and checked against today's date
  • Luhn check on the card number and a security code length that follows the card type
  • Inline validation with error text, aria-invalid states and focus on the first error
  • Postal code rules for the United States, Canada and the United Kingdom
  • Delivery methods with prices that update the order summary
  • Order summary that collapses on mobile and stays sticky on desktop
  • Discount code field with a documented demo code
  • Demo confirmation screen with a start over button

Front-end template: what is demonstration only

  • Checkout is a demonstration: card details are validated in the browser only, no payment is processed, no order is created and nothing is stored or sent.
  • The order basket, prices, delivery options and discount code are sample data defined in the script.

What is included

Pages and sections

  • Header and demo notice
  • Order summary with discount code
  • Contact step
  • Shipping address step
  • Delivery method step
  • Payment step
  • Place order button
  • Confirmation screen

Framework

Plain HTML5, CSS3 and JavaScript. No framework, no build step — open index.html and edit.

Bundled open-source components

  • Public Sans typeface (OFL-1.1)
  • Lucide icons (inlined SVG) (ISC)

Everything is inside the download with its licence. Nothing loads from a CDN.

Supported browsers

Chrome, Edge, Firefox, Safari, Opera

Current versions. Checked in Chromium at desktop, tablet and phone widths.

Files in the download (14) · 80 KB ZIP
  • LICENSE.txt1.3 KB
  • README.md2.7 KB
  • assets/css/style.css16 KB
  • assets/fonts/public-sans-LICENSE.txt4.4 KB
  • assets/fonts/public-sans-latin-wght-italic.woff228 KB
  • assets/fonts/public-sans-latin-wght-normal.woff226 KB
  • assets/images/favicon.svg261 B
  • assets/images/mug.svg521 B
  • assets/images/tote.svg615 B
  • assets/images/wraps.svg603 B
  • assets/js/main.js16 KB
  • documentation/index.html12 KB
  • documentation/licenses/lucide-LICENSE.txt3.1 KB
  • index.html16 KB

Includes a README, a documentation page with customisation notes, and the licence text.

Read the documentation

Changelog

  1. Version 1.0.0 Nov 23, 2026Current

    • Initial release.

Licence

Free Template Licence. Use it in unlimited personal and commercial projects, modify it freely and use it in client work. You may not redistribute or resell the template itself. Attribution is appreciated, not required.

Read the full licence terms

Customer reviews

No reviews yet. Reviews come only from customers who have downloaded or bought this template.

Write a review