説明例
In this example, a site visitor can book a class from a custom service page, as well as purchase store products related to the class.
どのように構築したか
The Collection We Added: Extra_Booking_Info
In addition to the standard Bookings and Stores collections, we also created an Extra_Booking_Info collection, which includes the following fields:
facility: Name of room class is located in.
Service: Reference field with the name of the class (service) from the Bookings/Services collection.
Related Products: Multi-item reference field listing all products from the Stores/Products collection related to the class.
Custom Service Page
Each class has its own dynamic page that displays custom service information such as class duration, meeting room, and a schedule. The custom information is pulled from the Bookings/Schedule, Bookings/Services, and Extra_Booking_Info collections. Visitors can navigate between the service pages using Previous and Next buttons.
Related Products
Visitors can also scroll to the bottom of each service page to a related products area. They can purchase store products related to the current class, as defined in the Extra_Booking_Info collection.
次のステップ
この例をエディターで開き、テンプレートを操作してください。
Publish the site and refresh your browser so the Bookings collections appear in the Database.
どのように Veloでの例題の扱い方.
関連例
これは役に立ったか?
|
ご意見ありがとう!
サービス一覧
サービスのリストをフィルタリングし、次に利用可能なスロットを表示します。
中級
予約カレンダーのページを差し替える
あなたのサイトのデフォルトのWix Booking Calendarを、あなたのニーズに合わせてカスタマイズしたカレンダーに置き換えることができます。
中級
Quick Book and Pending Appointments
Let customers quickly book appointments, which are then approved or declined.
中級
ECOM Validations SPIを使用して、1週間のコンタクトごとの予約数を制限する。
各サイトメンバーの予約は週3回までに制限する。
中級
ブッキングV2のカスタム予約フロー
Bookings V2 APIを使用して、迅速かつカスタマイズされた予約プロセスを顧客に体験してもらいましょう。
中級
ラウンドロビン予約スケジューリング
スタッフを選ばずに予約できるようにし、ラウンドロビンのスケジューリングを作成する。
上級