內容簡介
Softmogul 預訂引擎
Softmogul 預訂引擎是一個外掛,可讓使用者輕鬆地將 Softmogul (https://softmogul.com) 預訂引擎整合到其網站中。Softmogul 是一個酒店管理系統,允許酒店在雲端上管理其酒店資產。預訂引擎是 Softmogul 的一部分,讓酒店可以從其網站接收酒店預訂。該外掛執行以下功能:
功能
允許使用者配置其 Softmogul 令牌,以便於與 Softmogul 進行身份驗證
在其網站中包含以下腳本(https://softmogul.com/booking-api.js),其中包含必要的代碼以顯示預訂模態對話框。此腳本包含必要的代碼來建立/顯示和管理新的預訂模態對話框。此模態對話框接受來自訪問者的輸入,例如辦理入住/退房、房型、房價方案、姓名、電子郵件等,並將輸入的信息提交到 Softmogul.com,並負責註冊此房間預訂並向訪問者發送確認電子郵件。
將每個 http://receptionpms.com 的出現都替換為以下代碼 \”window.dispatchEvent(new Event(\’reservation-app-show\’)\”,以便使用者點擊鏈接時,代替打開 http://receptionpms.com(這是我們擁有的域名),它將打開預訂模態對話框。
使用方法
要配置 Softmogul 預訂引擎,網站所有者在安裝外掛後,應前往 Softmogul 預訂引擎設置並粘貼其令牌(可從其 Softmogul 管理面板中獲得)。
之後,每當他們想要顯示預訂模態對話框時,他們可以在其網站上的任何位置(菜單、圖像、按鈕、文本)添加具有以下 href=\”http://receptionpms.com\” 的連結(元素),並且就這樣。每個訪問者點擊連結時都會看到預訂模態對話框。
外掛標籤
開發者團隊
原文外掛簡介
Softmogul Booking Engine
Softmogul Booking Engine is a plugin that enables the user to easily integrate Softmogul (https://softmogul.com) Booking Engine into their website. Softmogul is an Hotel Management System that allows hotels to manage their property on the cloud. Booking Engine is the part of Softmogul that allows hotels to recieve hotel bookings from their website. The plugin does the following:
What it does
Allows the user to configure their Softmogul Token so they can authenticate with Softmogul
Include the following script in their website (https://softmogul.com/booking-api.js) which contains the neccessary code to show the reservation modal. This script contains the code neccessary to build/display and manage the New Reservation Modal. This modal accepts input from the site visitor such as Checkin/Checkout, Room Type, Rate Plan, Name, Email etc. and submits the information entered to Softmogul.com that will be responsible for registering this room booking and sending the confirmation email back to the visitor.
Replace every occurance of http://receptionpms.com with the following code \”window.dispatchEvent(new Event(\’reservation-app-show\’)\” so that whenever the users click the links, instead of opening http://receptionpms.com (which is a domain owned by us), it opens the reservation modal.
Usage
To configure Softmogul Booking Engine, the site owner, after installing the plugin, should go to Softmogul Booking Engine Settings and paste their Token (which they can get from their Softmogul Administration Panel).
Afterwards, whenever they like to show the reservation modal, they can add a link ( element) anywhere in their site (Menu, Image, Button, Text) with the following href=\”http://receptionpms.com\” and that\’s it. Every visitor that clicks on the links will see the reservation modal.
