Checkout
Age checks and the sample shipping table
2026-09-14 · 4 min read
The gate asks if you are 21 or older and can remember the answer in this browser. That is the whole mechanism. There is no ID vendor, no document upload, and no claim that this satisfies a state rule.
The minimum age lives in a config file and in the compliance_settings table. Change the number there when the shop decides what the live site should ask. The storefront reads that value. It still will not take payment.
Shipping limits are rows: a state, a product class, and a note. The demo blocks device shipping to three sample states, liquid shipping to one, and fuel shipping everywhere. Pickup remains available in the demo flow so you can see both paths. Those rows are examples for the screen, not legal advice.
Checkout refuses a shipping address when a row blocks it, and it says why. The copy on that error is the note from the table. Keep those notes honest when real rules are entered. Do not paste a statute summary in unless a lawyer wrote it.
Sales stay off. The orders table will only accept a demo receipt. Building a real charge means a separate project: server-side prices, a payment provider, and a review of the age and shipping setup. This site does not do that.
