From 4b78d357c0216d2b2d10d42700c3451ecb12da0d Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Mon, 9 Mar 2026 10:41:14 -0700 Subject: [PATCH] update: accommodation pricing and confirmation email MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Commons Hub nightly rates: shared €39.20→€39.90, double €50.20→€50.90 - Herrnhof prices now stored as 7-night totals (×7) for correct checkout - Confirmation email: food text updated, Herrnhof link removed, added office@commons-hub.at for accommodation questions Co-Authored-By: Claude Opus 4.6 --- app/api/create-checkout-session/route.ts | 14 ++++++------ app/register/page.tsx | 28 ++++++++++++------------ app/transparency/page.tsx | 26 +++++++++++----------- lib/email.ts | 2 +- 4 files changed, 35 insertions(+), 35 deletions(-) diff --git a/app/api/create-checkout-session/route.ts b/app/api/create-checkout-session/route.ts index 13b353d..8124d50 100644 --- a/app/api/create-checkout-session/route.ts +++ b/app/api/create-checkout-session/route.ts @@ -16,13 +16,13 @@ const TICKET_PRICE = 80 // €80 early bird // Accommodation prices per person for 7 nights const ACCOMMODATION_PRICES: Record = { - "ch-multi": { label: "Bed in shared room (Commons Hub)", price: 274.40 }, - "ch-double": { label: "Bed in double room (Commons Hub)", price: 351.40 }, - "hh-single": { label: "Single room (Herrnhof)", price: 95 }, - "hh-double-separate": { label: "Double room, separate beds (Herrnhof)", price: 60 }, - "hh-double-shared": { label: "Double room, shared double bed (Herrnhof)", price: 50 }, - "hh-triple": { label: "Triple room (Herrnhof)", price: 50 }, - "hh-daybed": { label: "Daybed or extra bed in living room (Herrnhof)", price: 40 }, + "ch-multi": { label: "Bed in shared room (Commons Hub)", price: 279.30 }, + "ch-double": { label: "Bed in double room (Commons Hub)", price: 356.30 }, + "hh-single": { label: "Single room (Herrnhof)", price: 665 }, + "hh-double-separate": { label: "Double room, separate beds (Herrnhof)", price: 420 }, + "hh-double-shared": { label: "Double room, shared double bed (Herrnhof)", price: 350 }, + "hh-triple": { label: "Triple room (Herrnhof)", price: 350 }, + "hh-daybed": { label: "Daybed or extra bed in living room (Herrnhof)", price: 280 }, } // Public base URL diff --git a/app/register/page.tsx b/app/register/page.tsx index 21aafe5..c791f47 100644 --- a/app/register/page.tsx +++ b/app/register/page.tsx @@ -31,13 +31,13 @@ export default function RegisterPage() { const baseTicketPrice = 80 // Early bird price €80 const accommodationPrices: Record = { - "ch-multi": { label: "Bed in shared room (Commons Hub)", price: 274.40 }, - "ch-double": { label: "Bed in double room (Commons Hub)", price: 351.40 }, - "hh-single": { label: "Single room (Herrnhof)", price: 95 }, - "hh-double-separate": { label: "Double room, separate beds (Herrnhof)", price: 60 }, - "hh-double-shared": { label: "Double room, shared double bed (Herrnhof)", price: 50 }, - "hh-triple": { label: "Triple room, one single + one shared double bed (Herrnhof)", price: 50 }, - "hh-daybed": { label: "Daybed or extra bed in living room (Herrnhof)", price: 40 }, + "ch-multi": { label: "Bed in shared room (Commons Hub)", price: 279.30 }, + "ch-double": { label: "Bed in double room (Commons Hub)", price: 356.30 }, + "hh-single": { label: "Single room (Herrnhof)", price: 665 }, + "hh-double-separate": { label: "Double room, separate beds (Herrnhof)", price: 420 }, + "hh-double-shared": { label: "Double room, shared double bed (Herrnhof)", price: 350 }, + "hh-triple": { label: "Triple room, one single + one shared double bed (Herrnhof)", price: 350 }, + "hh-daybed": { label: "Daybed or extra bed in living room (Herrnhof)", price: 280 }, } const accommodationPrice = accommodationPrices[accommodationType]?.price ?? 0 @@ -203,13 +203,13 @@ export default function RegisterPage() {
@@ -228,31 +228,31 @@ export default function RegisterPage() {
diff --git a/app/transparency/page.tsx b/app/transparency/page.tsx index 5fdf5f2..9db3473 100644 --- a/app/transparency/page.tsx +++ b/app/transparency/page.tsx @@ -103,17 +103,17 @@ export default function FinancialTransparencyPage() {
- €274.40 + €279.30 per person / 7 nights
-

Bed in shared room (€39.20/night)

+

Bed in shared room (€39.90/night)

- €351.40 + €356.30 per person / 7 nights
-

Bed in double room (€50.20/night)

+

Bed in double room (€50.90/night)

@@ -126,31 +126,31 @@ export default function FinancialTransparencyPage() {
Single room - €95 + €665 (€95/night)
Double room (separate beds) - €60/person + €420/person (€60/night)
Double room (shared double bed) - €50/person + €350/person (€50/night)
Triple room (one single, one shared double bed) - €50/person + €350/person (€50/night)
Daybed or extra bed in living room - €40/person + €280/person (€40/night)

@@ -201,7 +201,7 @@ export default function FinancialTransparencyPage() {

Accommodation (7 nights, shared room) - €274.40 + €279.30
Food @@ -209,13 +209,13 @@ export default function FinancialTransparencyPage() {
Total (Early bird, excl. food) - €354.40 + €359.30

- *With regular pricing (€120 ticket), total would be €394.40. With late pricing (€150 ticket), total - would be €424.40. Herrnhof Villa accommodation starts from €40/person for the week. + *With regular pricing (€120 ticket), total would be €399.30. With late pricing (€150 ticket), total + would be €429.30. Herrnhof Villa accommodation starts from €280/person for the week (€40/night).

diff --git a/lib/email.ts b/lib/email.ts index 7cdf4de..b2a5a77 100644 --- a/lib/email.ts +++ b/lib/email.ts @@ -66,7 +66,7 @@ export async function sendPaymentConfirmation(

Food & Accommodation

-

We'll follow up separately via email with food options and pricing. If you haven't yet decided on accommodation, there's still time! The Commons Hub (our main venue with 30 on-site beds) and the nearby Herrnhof Villa are the most convenient options — right in the heart of the gathering. Other nearby options are also available; check the Directions page for details.

+

Information about food arrangements coming in a subsequent email. If you haven't yet decided on accommodation, there's still time! The Commons Hub (our main venue with 30 on-site beds) and the nearby Herrnhof Villa are the most convenient options — right in the heart of the gathering. Other nearby options are also available; check the Directions page for details. Email office@commons-hub.at for any questions about accommodation.

What's Next?