Odeva Booking

外掛說明

Odeva Booking connects WordPress to Odeva, an external SaaS reservation platform. It adds a booking widget so visitors can search accommodations, view details, and make reservations directly on your pages.

Features:

  • Gutenberg block with visual configuration
  • Classic editor shortcode support
  • Full theme customisation via colours, border radius, and font family
  • Global defaults via Settings page; override per block or shortcode

External services

This plugin connects to Odeva, an external SaaS reservation platform. The widget JavaScript is bundled with the plugin. The visitor’s browser connects to Odeva only when an Odeva Booking block or shortcode is rendered and used.

Service endpoints used by the bundled widget:

  • https://booking.odeva.app/graphql – used to fetch accommodation data, availability, pricing, and to create reservation checkout sessions.
  • https://booking.odeva.app/checkout – used when a visitor proceeds to the hosted checkout flow.
  • Image URLs returned by the Odeva API – used to display accommodation and unit images.

Data sent to Odeva may include the configured organisation slug, search dates, guest counts, selected accommodation or unit IDs, and the guest contact and reservation details entered in the booking form. This data is used to provide availability, pricing, reservation, and checkout functionality.

Service links:

  • Privacy Policy: https://odeva.app/privacy-policy
  • Service website: https://odeva.app

Shortcode

[odeva_booking org="my-org" color_primary="#16a34a" border_radius="0.25rem"]

All attributes are optional if you’ve set defaults in the settings page. Available attributes:

  • org — Organisation slug (required if not set in defaults)
  • api_url — Override GraphQL API URL
  • checkout_url — Override checkout URL
  • color_primary, color_secondary, color_accent — Theme colours
  • color_background, color_surface, color_text, color_text_muted — Surface colours
  • border_radius — Corner radius (e.g., 0.5rem)
  • font_family — Font stack

適用於區塊編輯器

這個外掛提供 1 個可供 Gutenberg/區塊編輯器使用的區塊。

  • Odeva Booking

安裝方式

  1. Upload the odeva-booking folder to /wp-content/plugins/
  2. Activate the plugin through the Plugins menu
  3. Go to Settings Odeva Booking and enter your organisation slug
  4. Add the “Odeva Booking” block to any page, or use the shortcode: [odeva_booking org="your-org"]

常見問題集

Do I need an Odeva account?

Yes. Odeva Booking is a connector for the Odeva SaaS reservation system and requires a valid organisation slug.

Does this plugin add frontend credits or backlinks by default?

No. The plugin does not inject “powered by” links on the public site by default.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Odeva Booking〉的開發相關工作。

參與者

將〈Odeva Booking〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.3

  • Remove incorrect contributor attribution from readme.

1.0.2

  • Trim packaging: exclude test fixtures and monorepo metadata from the bundled source/ review directory. No functional changes.

1.0.1

  • Bundle the Odeva widget JavaScript with the plugin instead of loading remote executable code.
  • Improve external service disclosure and WordPress.org review packaging.
  • Improve sanitization, escaping, and translation readiness.

1.0.0

  • Initial release