Terms of sale template
Ready-to-fill terms of sale for a showcase site selling to consumers: seller, ordering, prices, delivery, withdrawal with a copyable form, statutory warranties and mediation, with 26 highlighted fields to complete and a side table of contents that follows the reader.
- Tailwind
- React
- CSS
- WordPress
Description
The page sets out in eight sections what the French Consumer Code requires before a distance sale: seller identity (SIRET, VAT, customer service), ordering steps up to the Order with obligation to pay button, prices including VAT and payment methods, delivery area, times and costs with the 30-day legal limit and transfer of risk, the 14-day right of withdrawal with its exceptions and refund rules, a table of the statutory conformity and hidden defect warranties, complaint then consumer mediator, and finally personal data and governing law. The standard withdrawal form is included; the Copy the form button puts it on the clipboard as plain text, ready to paste into an email or a document. Every detail specific to your business sits in a highlighted field with a dashed border; a box at the top counts the remaining fields and the Go to next field button walks through them one by one, table and form included. Tips flag what to adapt: business customers, deposits, the regulatory conformity warranty notice, the European online dispute platform closed since July 2025. The numbered table of contents sticks to the left above 896 px and highlights the current section; on mobile it sits at the top and the table scrolls inside its own frame, with no overflow at 360 px. Without JavaScript the anchors work, the form stays readable and selectable, and the copy button stays hidden. HTML, CSS and a 65-line script, with no dependency; colours and radius use CSS variables prefixed --pcgv-. It completes the legal notice and privacy policy templates in the catalogue. This template does not replace legal advice suited to your business.
Accessibility: an article named by its heading, the table of contents in a named nav element, the current section marked with aria-current, a table with a caption, column headers and a named scroll frame reachable by keyboard, the form in a figure named by its caption, fields to complete preceded by an À compléter prefix read by screen readers (removed from the copied text) and set apart by a border, not only by colour, the number of remaining fields and the copy result announced by aria-live regions, a 3 px focus outline, targets at least 44 px, 16 px body text in rem, AA contrast in light and dark, and smooth scrolling and transitions turned off with prefers-reduced-motion.
Code
Loading the code…
The code of this component in
Archive contents
page-cgv-modele-html-tailwind.zip3 files · 12 Ko
- index.html47 Ko
- README.md7 Ko
- LICENSE.md1 Ko
Tags
Updated on December 2, 2026.
Reviews
No reviews yet.
In the same spirit

A ready-to-publish changelog page: dated, versioned notes grouped by month, each with a type badge (new, improvement, fix), module tags and filters that announce how many notes are shown.
- Tailwind
- React
- CSS
- WordPress

A ready-to-fill GDPR privacy policy for a showcase site: controller, data collected, purposes, retention periods, recipients, rights and cookies, with 24 highlighted fields to complete and a side table of contents that follows the reader.
- Tailwind
- React
- CSS
- WordPress

A ready-to-fill French legal notice page: publisher, host, SIRET, contact, intellectual property and personal data, with 16 highlighted fields to complete and a side table of contents that follows the reader.
- Tailwind
- React
- CSS
- WordPress

The page shown after a quote request or contact message: clear confirmation, announced response time, printable summary, next steps and useful links.
- Tailwind
- React
- CSS
- WordPress