Skip to content
English
  • There are no suggestions because the search field is empty.

Wix

Seamlessly add booking functionality to your Wix site

Adding Xola buttons to your Wix website is a simple way to let your customers book experiences directly from your site, without needing to leave the page or open a new tab. In this guide, we’ll walk you through the step-by-step process to install Xola’s checkout buttons on any Wix page, helping you create a smooth and integrated booking experience for your visitors.

User Access: Administrator or Marketer roles have access to set up and manage Buttons in Xola.

To grant access to users, click here. 


What's covered in this article:


Step 1: Add the Xola JavaScript Code to Wix

To get started, you’ll need to add Xola’s global JavaScript to your Wix site’s header. This ensures your buttons will work properly when clicked.

  • Log into your Wix account.

  • Navigate to Settings > Custom Code.

28276429301787

  • Click Add New Custom Code.

28276429309851


Step 2: Locate the Xola Checkout JavaScript

Now, let’s grab the code from your Xola account:

  • Log into your Xola account.
  • Go to Settings > Button Code.
  • Under Step 1, use the  37502050859163 icon to copy the JavaScript code. 

28276445791515

  • Paste this code into the Custom Code section in Wix as instructed in Step 1. This will allow the checkout buttons to function correctly on your live site without opening in a new tab or window.
  • The screenshots below show how to properly add Xola Checkout JavaScript into the Wix Custom Code settings.

28276445795867

28276445798811


Step 3: Add a Button to Your Wix Page

Next, it’s time to place a button on the page where you want your Xola checkout to appear:

  • From your Wix Dashboard, click Site & App.
  • In the top right corner, click Edit Site to open the site editor.
  • Navigate to the page where you want to add the button.
  • In the left-hand toolbar, click the + icon.
  • Select Button from the list of elements and drag it to where you’d like it to appear on the page.
28276839306779

Step 4: Get the Xola Booking URL

You’ll now need the unique link for your experience:

  • Back in your Xola account, navigate to Settings > Button Code.

  • In Step 2, choose the checkout type URL.

  • Scroll to Step 3 and find the experience you want to link.

  • Click the  37502050859163 icon to copy the button URL to add to your site.

28276938708635

This URL will look something like: https://checkout.xola.com/your-experience-link


Step 5: Link the Button to the Xola Checkout

Now you’ll connect your Wix button to the booking URL:

  • Click the button you placed on your Wix page.

  • In the menu that appears, click the Link icon.

  • On the left, choose Web Address.

  • Paste your Xola checkout URL into the field.

  • Under How does it open?, select Current window.

  • Click Done.

28276737603611

Need more help customizing your Wix buttons? Click here for more Wix button tips.