How can I add a button to empty the cart at once?
you want an “Empty Cart” button on your Tickera cart page so buyers can clear all items in one click instead of removing each line individually — useful on long carts (group bookings, multiple ticket variations) where one-by-one removal is friction.
The honest answer: not natively in standalone
Tickera standalone doesn’t ship with an “Empty Cart” button. The native workflow is:
- Set every quantity to 0 on the cart page.
- Click Update Cart.
Functionally identical to “empty cart” — but two clicks per item plus an Update click. Fine for 2-3 items, painful for 10+.
The Bridge-mode solution
If you run Tickera via Bridge for WooCommerce, the WooCommerce ecosystem has multiple free plugins that add an Empty Cart button. Two solid options on WordPress.org:
- Empty Cart Button for WooCommerce — simple toggle, button appears on the cart page.
- Woo Empty Cart Button — same idea, slightly different styling options.
Either works. Install, activate, configure (most have a settings page to pick the button label and placement), done.
Why we don’t add this to Tickera core
The cart UX of Tickera standalone is deliberately minimal — for the typical event-only checkout, the existing flow is enough. The use cases where Empty Cart matters tend to overlap with the use cases where Bridge for WooCommerce makes sense anyway (group bookings, e-commerce mindset, multiple product types). Rather than duplicate WooCommerce’s ecosystem, we point you at it.
If you want it in standalone
The Tickera cart is a standard WordPress shortcode-driven page. A small custom plugin can:
- Hook into the cart page render to insert a button.
- On click, call the Tickera cart-clear function (the same one used internally when you set quantities to 0 and update).
See hooks and filters for the relevant filter points. If you’d rather not build this yourself, contact support and we can scope a small custom add-on.
Related
- Checkout modifications
- Tickets table and cart modifications
- Shortcodes and Gutenberg blocks
- Bridge for WooCommerce
Was this article helpful?
Yes — great. No or partially? Tell us what was missing — we read every message and use it to improve these docs.