removed fp6 from shop
All checks were successful
Deploy / build-deploy (push) Successful in 5m35s

This commit is contained in:
Jorijn van der Graaf 2026-09-05 18:38:39 +02:00
commit 25805a093a
20 changed files with 788 additions and 805 deletions

View file

@ -238,8 +238,8 @@ export inline constexpr std::int64_t kMaxQuantity = 99;
//
// Names the reason as regulatory rather than commercial, because a Dutch shop
// that plainly posts worldwide would otherwise read as arbitrary, or worse as
// quietly declining someone. The truth is duller and better: selling a phone into
// a country means meeting that country's rules first, and doing it in the wrong
// quietly declining someone. The truth is duller and better: selling into a
// country means meeting that country's rules first, and doing it in the wrong
// order is the illegal part.
//
// No date is promised. Which country comes next depends on which one people ask
@ -250,9 +250,9 @@ export inline constexpr std::int64_t kMaxQuantity = 99;
// on-page total preview, so the page can never encourage an order the server
// will refuse.
export inline constexpr std::string_view kRegulatoryMessage =
"Catcrafts can't ship there. Selling a phone into a country means meeting "
"that country's own rules first — recycling schemes, radio approval, import "
"registration — and only a few are cleared so far. Email "
"Catcrafts can't ship there. Selling into a country means meeting that "
"country's own rules first: recycling schemes, radio approval, import "
"registration. Only a few are cleared so far. Email "
"orders@catcrafts.net if you would like yours looked at next.";
// The standing note above the buy form, and the one place the policy is stated
@ -432,7 +432,7 @@ export CheckoutResult ValidateCheckout(const Fields& f) {
// Quantity: a small positive integer, nothing else. Absent means 1 (the
// no-JS form default); anything unparseable or out of range is rejected
// rather than clamped — silently changing how many phones someone buys is
// rather than clamped — silently changing how many units someone buys is
// worse than asking again.
const std::string_view qty = Trim(f.Get("quantity"));
if (qty.empty()) {