Skip to content

fix: PR-8 - canonical Phorest booking URL, data-driven CTAs - #8

Merged
Eth-Interchained merged 1 commit into
mainfrom
hyperagent/2026-07-07-pr8-phorest-booking
Jul 7, 2026
Merged

fix: PR-8 - canonical Phorest booking URL, data-driven CTAs#8
Eth-Interchained merged 1 commit into
mainfrom
hyperagent/2026-07-07-pr8-phorest-booking

Conversation

@Eth-Interchained

Copy link
Copy Markdown
Owner

Summary

Live-site correction from Mark: the canonical booking link is https://www.phorest.com/salon/mintontheavenue (request-appointment is being phased out). The seed gets the confirmed URL; the hardcoded fallback in ctaRow is deleted — booking CTAs are now data-driven from entity.bookingUrl.

Why this matters

Booking is THE conversion path. And the fix removes the last hardcoded salon fact from the render plane — every CTA now reads the engine, which is what "configuration determines behavior" means at the button level.

Tests run (locally, real engine)

tsc clean · unit 30/30 · live 4/4 — new assertion: the home CTA carries the encoded canonical Phorest URL through /go/booking_click.

Deploy note

After merge: git pull && pnpm run build && npm run seed && restart. The seed run will WRITE this time (file content changed → new run id run_… → salon doc updates, history preserved). Expect a non-zero writes count and ✓ verify ok.

Mark's correction from the live site: the real booking link is
https://www.phorest.com/salon/mintontheavenue — the request-appointment
page is being phased out.

- seed: bookingUrl confirmed (closes the TO_CONFIRM item), provenance
  note records who confirmed and when
- pages.ts: the hardcoded booking URL dies — ctaRow reads
  entity.bookingUrl (https-validated); a salon without one simply gets
  no book button, call/text remain. The generic-platform way.
- live suite asserts the CTA targets the canonical Phorest URL, encoded
  through /go tracking

The correction is itself provenance: the changed seed file yields a new
content-addressed run id; the salon doc's next version chains to it.
TRACE shows the booking URL changed, when, and on whose word.

Verified: tsc clean · unit 30/30 · live 4/4 vs nedbd 2.6.1 · build clean.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Eth-Interchained
Eth-Interchained merged commit f968183 into main Jul 7, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant