On a phone, the ticket box on a single event page sits below the event details, so visitors had to scroll to find it. From EventPrime 4.3.6.0, a Get Tickets bar stays at the bottom of the screen on phones. It shows the ticket price and a button, so visitors can start booking from anywhere on the page.
Requires: EventPrime 4.3.6.0 or later. The bar appears on its own when it applies, and you can turn it off from EventPrime 4.3.7.0.

What the bar does
- It shows the price from the ticket box. If the event has a price range, the bar copies the first price line from the ticket box, for example “Starting from 25.00”.
- It has a button with the same label as the ticket box button. The label is Get Tickets Now unless you changed it under EventPrime > Settings > Language or with a filter.
- Tapping the button opens the same ticket window as the button in the ticket box. Nothing else changes in the booking flow.
- When the ticket box itself is on the screen, the bar hides, so visitors never see two buttons for the same thing.
- When the ticket window is open, the bar hides. When it closes, the bar can return.
- The bottom of the page has extra space while the bar shows, so the footer stays reachable.

When the bar shows
All of these must be true:
- The screen is narrower than 768 pixels (phones).
- The event uses the default single event ticket layout, and the ticket box shows the Get Tickets Now button.
- At least one ticket is on sale and the event is not sold out.
- The ticket box has scrolled out of view, and no window is open.
When the bar does not show
- Tablets and desktops. The ticket box is easy to reach there, so nothing changes.
- Events with an external booking link. The ticket box shows a link to another site instead of the ticket window, so there is no bar.
- Sold out, ended or closed events, and events where visitors cannot book (for example because of booking restrictions). The ticket box shows its usual message instead of a button.
- Events where the ticket button is hidden, for example invite-only events and events that use a waiting list. The bar follows the ticket box button: when that button is hidden, the bar is hidden too.
For theme developers
The bar is added by the default template public/partials/themes/default/event/tickets.php. If your theme has its own copy of event/tickets.php (in your-theme/eventprime/), that copy has no bar. To add one, copy the bar markup from the plugin’s template into your copy, after the ticket box:
<div class="ep-sticky-book-bar" aria-hidden="true">
<div class="ep-sticky-book-price"></div>
<button type="button" class="ep-btn ep-btn-dark ep-py-2 ep-sticky-book-btn" tabindex="-1">Get Tickets Now</button>
</div>
The plugin script finds .ep-sticky-book-bar, fills in the price, shows it only when the ticket button is visible, and hides it while the ticket box is on screen. Your copy also needs the Get Tickets Now button with id="ep_single_event_ticket_now_btn", because the bar clicks that button.
Good to know
- On by default. From EventPrime 4.3.7.0 you can switch the bar off under EventPrime > Settings > Frontend Views > Event > Sticky Get Tickets Bar. How to turn the sticky Get Tickets bar on or off.
- Cached pages: clear your page cache and any JavaScript optimization cache once after updating.
Related
- How to Add Tickets for your WordPress Events
- How to turn the sticky Get Tickets bar on or off in EventPrime
- EventPrime 4.3.6.0 release notes
Questions, Support & Custom Solutions
- Need more details or can't find what you're looking for? Let us know how we can help! Contact our support team here.
- Looking for a tailor-made solution to meet your specific needs? Our dedicated customization team is here to help! Use this link to share your requirements with us, and we'll collaborate with you to bring your vision to life.