Liqiud basics
Modules
API
Mailer
Booking templates
On this page
- cart.bk
- confirm.bk
- submit.bk
- cancel.bk
Note
At least one of cart, checkout and confirm is required. complete is always necessary.
cart.bk
Template for showing cart for current booking.
Template url: (/:locale)/b/cart
Available drops:
Notes
The cart can be fetched with JavaScript on /b/cart.
An order is created for each unique visitor and it is reached in Liquid with current_booking_order.
To continue to confirm step order use {% wm3form "/b/confirm" %}
confirm.bk
Template to confirm(Invoice) or proceed with payment(Stripe) for current booking.
Template url: (/:locale)/b/confirm
Available drops:
Notes
To reach stripe snippet use booking_order.snippet
To submit order use {% wm3form "/b/submit" %}
submit.bk
Template for submitted order.
Template url: (/:locale)/b/submit
Available drops:
cancel.bk
Template to cancel an order.
Template url: (/:locale)/b/cancel
Available drops:
Notes
Order is reached with booking_order_to_cancel
To cancel order POST to booking_order_to_cancel.cancel_url
Updated: 2019-10-17