| 开发者 | flexatech |
|---|---|
| 更新时间 | 2026年11月30日 12:06 |
| PHP版本: | 8.2 及以上 |
| WordPress版本: | 7.2 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[check_in, check_out), so same-day turnover (a guest checks out and another checks in the same day) works correctly.flexatech-stay-suite/v1).[flssp_payment_schedule order="CODE"] shows it to the guest.booking.created / booking.confirmed / booking.cancelled webhooks with a delivery log and exponential-backoff retries. Booking creation runs the free plugin's own checkout service, so pricing is reused rather than reimplemented.flexatech-stay-suite folder to /wp-content/plugins/, or install the zip via Plugins → Add New → Upload Plugin.git clone https://github.com/flexatech/flexatech-stay-suite.gitcd apps/admin && pnpm install && pnpm build (writes the compiled assets to assets/dist)./wp-content/plugins/, or run ./release.sh to produce a distributable zip in build/.Room browsing (single rooms and archives) is generated automatically inside your theme, so those need no setup. For the cart and checkout steps, create a Cart, Checkout, and Booking Confirmation page and paste [flexatech_hotel_cart], [flexatech_hotel_checkout], and [flexatech_hotel_thankyou] into them respectively, then publish. A "My Bookings" page with [flexatech_hotel_account] is recommended. The plugin discovers these pages by their shortcode, so you can name them anything. See the "Storefront pages" section above for the full walkthrough.
No. The client never sends amounts. The server re-quotes the entire cart from the room's rate plans and inventory at checkout, so the charged total is always the authoritative server figure.
Yes. Availability is computed directly from bookings and time-limited holds, with commit-time re-checks, so two guests cannot book the last room at the same time.
Offline / bank transfer is built in and enabled by default. Stripe and PayPal are included with sandbox and live modes; enter your keys in Settings → Payments to enable them.
Yes. You can search dates, hold a room and walk through checkout on the live demo, which sits alongside the full user guide and developer reference at https://hotel.flexacommerce.com/
You do not need them to take bookings; the free plugin is complete on its own. Stay Suite Occupancy adds per-guest and pet pricing with per-type occupancy caps. Stay Suite Pro adds dynamic and seasonal pricing, length-of-stay and arrival rules, cancellation policies, deposits with instalments, two-way iCal calendar sync, and an API-key REST API with signed webhooks. Both install as separate plugins alongside the free one and hook into it rather than replacing anything, so you can add either later without touching your rooms, rates or past bookings. See the "Ready for more?" section above for the detail.
The admin dashboard is a React and TypeScript app. Its readable source ships in apps/admin/src, along with its build manifest (apps/admin/package.json, apps/admin/vite.config.ts, apps/admin/tsconfig.json). To rebuild the compiled bundle in assets/dist, run pnpm install then pnpm build inside apps/admin. The complete source and build tooling is public on GitHub: https://github.com/flexatech/flexatech-stay-suite
redirect) now shows its dates, guests, and "± days" choice in the search form it lands on, and the results keep the "± days" setting instead of dropping it.flexatech_stay_suite/checkout/line lets an add-on add fees to a priced line, and flexatech_stay_suite/booking/guest_caps supplies per-room guest limits to the storefront. Used by the separate Occupancy add-on for per-guest pricing and caps; the free plugin adds no limits or fees on its own.flexatech_stay_suite/booking/balance_due_cents (outstanding balance, for deposit/instalment flows), flexatech_stay_suite/cancellation/fee_cents (fee retained on a self-cancel), and flexatech_stay_suite/booking/validate (return a WP_Error to reject a stay, e.g. minimum-nights or closed-to-arrival rules; enforced at checkout and surfaced during quote). New repository method occupying_in_range() lists booked rooms across a date window for calendar/iCal export. No change to how the plugin behaves on its own.