Organiser guide

Add the basket to your website

The basket lets your buyers add entries from any of your events, keep them while they browse your site, and pay for everything in one go. It takes about ten minutes to set up.

1

Add the basket to your site's header

Paste these two lines into your website's header, so they appear on every page. The first line loads the basket; the second is where the basket button shows.

<script src="https://tickstler.com/widget.js" async></script>
<div data-tickstler-cart></div>

How you do this depends on your website builder:

  • WordPress — use a plugin such as "Insert Headers and Footers", or edit your theme's header template.
  • Squarespace — Settings → Advanced → Code Injection → Header.
  • Wix — Settings → Custom Code → add to the head of all pages.
  • Plain HTML — paste it inside the <header> of each page, just before the closing tag.

The basket button appears wherever you put the second line — most organisers put it at the top right of their site, next to their menu.

2

Switch your event embeds to basket mode

On each event's Embed tab in your Tickstler dashboard, copy the snippet and add ?basket=1 to the end of the link, like this:

<iframe src="https://tickstler.com/embed/YOUR-EVENT-SLUG?basket=1"
  style="width:100%;min-height:900px;border:0" allow="payment *"></iframe>

Replace YOUR-EVENT-SLUG with your event's slug — you'll see it on the Embed tab. Do this for every event you've embedded on your site.

With basket mode on, the checkout shows an "Add to basket" button instead of taking the buyer straight to payment.

3

Test it

Open your website and try the whole journey as a buyer would:

  1. Pick a ticket on one event and click Add to basket — the basket opens and its count goes up.
  2. Go to another page on your site — the basket should still have what you added.
  3. Add an entry from a second event, then open the basket and click Checkout — pay for everything.
  4. Each entrant fills in their own details, then pays once for everything.

If the basket button doesn't appear, check that both lines from step 1 are on the page and that your site builder hasn't removed the script.

Good to know

  • One payment, separate entries. The buyer pays once, but each entrant still gets their own order, their own confirmation email and their own ticket — and you can refund or transfer each one separately.
  • Your events only. A basket can only hold events that belong to you and use the same payment method (Stripe or Square). Buyers can't mix organisers in one payment.
  • Adding a teammate or family member is easy. On the checkout, buyers can click "Add another runner to this event" to enter someone else without leaving the page.
  • Nothing changes if you don't set it up. Without the basket code, your embeds keep working exactly as they do today — buyers go straight to payment.
  • The basket empties when the buyer goes to pay. If they close the payment page without paying, they'll need to add their entries again.

Stuck? Email us at hello@tickstler.com and we'll help you get it working. You can also read the FAQ.