Guide
Add online booking to a Wix site
Open Slate booking over your Wix page from your own Wix button, or link the button to your booking page on any plan. Steps, fixes, and how to check it.
There are two ways to take bookings on a Wix site. The pop-out opens Slate booking over your page when a guest clicks your own Wix button. The Book now button opens your Slate booking page. Pick the pop-out if your site can run custom code; the button opens your booking page instead.
What you need
- Your code from Slate. In Slate, open the Booking page tab, go to Add to your website and choose Wix. Slate shows your code with your details already filled in.
- For the pop-out: a Wix site that is published and has a connected domain. Wix only runs custom code on those sites.
- For the button: any Wix site where you can add a button.
Add the pop-out
- Copy the code from Slate.
- In your Wix dashboard, open Settings, then Custom Code under Development & integrations.
- Click + Add Custom Code, paste the code, choose All pages, place it in Body – end, and click Apply.
- In the Editor, click Add Elements, then Button, and place the button where guests should book.
- Click the button, click the Link icon, choose Web Address, paste your booking page address, and click Done.
- Publish your site. The button now opens booking over your page.
Or add a Book now button
- Copy your booking page address from Slate.
- In the Editor, click Add Elements, then Button.
- Click the button, click the Link icon, choose Web Address, paste your booking page address, and click Done.
- Change the button text to Book now and publish your site.
If it does not work
- You cannot find Custom Code, or cannot save it. Your site must be published and have a connected domain first. Use the Book now button meanwhile.
- The button opens your booking page instead of the pop-out. The code is not on that page: set it to All pages, in Body – end, and publish again.
- The pop-out stopped after you changed your domain. Wix removes custom code when a site’s domain changes. Add the code again.
Check it worked
In Slate, paste the page’s address into Check my site. Slate reads the page, tells you whether it found your booking code, and checks it again every day.
Sources
Questions
Why not paste the code into Wix's Embed HTML element?
That element puts your code in a separate box, so the booking widget cannot size itself and checkout can be blocked. The pop-out and the button both avoid it.
What do I need for the pop-out?
Wix runs custom code only on sites that are published and have a connected domain. Without those, use the Book now button.
Take bookings you can actually trust.
We move your calendar across with you, so nothing goes live until it matches what you already run.