
內容簡介
Tickets & Passes for WooCommerce 外掛為 WooCommerce 增加了三種產品類型:票券、時段票券和通行證。用戶可在商店中購買,並透過 QR 碼進行檢票,無需註冊其他票務服務,簡化了入場管理流程。
【主要功能】
• 三種產品類型:票券、時段票券、通行證
• QR 碼檢票,無需安裝應用程式
• 自訂檢票頁面,無管理介面干擾
• 實時狀態顯示:有效、已使用、過期等
• 自動釋放未付款預約名額
• 客戶可下載 PDF 和日曆檔案
外掛標籤
開發者團隊
② 後台搜尋「Tickets & Passes for WooCommerce」→ 直接安裝(推薦)
原文外掛簡介
Tickets & Passes adds three product types to WooCommerce: Ticket, Timeslot Ticket and Pass. Customers buy them like anything else in your shop, every purchase issues a QR code, and staff scan that code at the door from a phone browser.
Everything runs on your own site. There is no ticketing service to sign up for, no fee per ticket sold, and no account with anyone else.
Built for venues, attractions, museums, escape rooms, festivals, clubs and anyone who sells admission and then has to let people in.
Three product types
Ticket – plain admission with a validity window and a set number of uses. Day tickets, entry tickets, gift admission. The customer can pick their own start date within a range you set, or you fix the date yourself.
Timeslot Ticket – admission for a specific date and time, with a capacity per slot. Generate slots on a repeating schedule instead of building next month by hand. Unpaid reservations are released automatically, so an abandoned checkout never sits on a seat.
Pass – valid across a period rather than a single visit: season passes, memberships, annual cards. Passes can include guest passes the holder gives away, carry a cardholder photo, and enforce a cooldown between scans.
Check-in at the door
A scanner page on your own domain, at /check-in/. Full screen, no admin bar, nothing for door staff to get lost in.
No app to install. Any modern mobile browser works. Where the phone has a native barcode detector the scanner uses it, otherwise it decodes in the page.
Colour-coded results you choose: valid, already used, expired, on cooldown, or not found.
Photo check on passes. Staff see the cardholder photo beside the scan result and can compare it with the person in front of them.
A Scanner user role that grants check-in and nothing else in wp-admin.
Every decision is made on your server, never on the phone, so a cancelled ticket cannot be waved through by putting the phone in airplane mode.
A REST check-in API underneath, so a third-party or native scanner app can use the same endpoints.
Running it from wp-admin
A dashboard per product type – Tickets, Timeslot Tickets and Passes – each with search, manual check-in, resend, reset and cancel.
Manual check-in for when there is no phone at the door.
Analytics charting check-in activity by day and by hour, with a CSV export.
Per-type colours and hint text, so a ticket looks like part of your site rather than part of a plugin.
Shop Manager friendly. Everything is gated on manage_woocommerce; nobody needs an Administrator account to run the door.
What your customers get
Tickets and Passes tabs on the standard WooCommerce My Account page.
The QR code on screen plus a printable PDF download.
Live status on every ticket – active, used, expired, cancelled or not valid yet – with uses remaining.
Add to Calendar on timeslot tickets, as a normal .ics file.
Guest passes handed out from the account page, and a photo upload where a pass asks for one.
Emails
The WooCommerce order confirmation and completed order emails are extended with ticket, timeslot ticket and pass details.
Resend Ticket and Resend Pass templates for a re-sent QR code.
Guest Pass Invite templates, worded separately for recipients who already have an account and those who do not.
Every subject and body is edited in wp-admin and supports merge tags for order and ticket details.
Customer files stay private
QR codes, ticket PDFs and pass photos are not reachable at a guessable public URL. They live in a folder with a random name and are served through the plugin, which checks on every request that the caller holds a signed link from their own email or is signed in as the person the ticket belongs to. Responses are marked private and per-visitor, so a page cache or CDN can never hand one customer’s ticket to the next visitor. Nothing to configure, and it behaves the same on Apache, nginx and IIS.
Nothing to maintain
An hourly background job generates the next batch of recurring timeslots. A per-minute job releases timeslot reservations that were never paid for.
Works with
WooCommerce HPOS (High-Performance Order Storage) and the block-based cart and checkout.
Block themes and classic themes.
Translation ready – every string is translatable and the plugin ships a POT file.
No build step. All PHP, JavaScript and CSS ships readable and editable.
Requirements
WooCommerce, installed and active. WordPress will not let the plugin activate without it.
PHP 8.0 or newer.
HTTPS, because phone browsers only give camera access to secure pages.
Source Code and Third-Party Libraries
This plugin ships no compiled or obfuscated code. Every PHP, JavaScript and CSS file
written for this plugin is included in readable, editable form, and no build step
(npm, webpack, Composer, etc.) is required to run or modify it.
The following third-party libraries are bundled unmodified. Each is the upstream
distribution file, at the version listed:
dompdf 3.1.6 – PDF rendering – https://github.com/dompdf/dompdf – LGPL-2.1
(bundled in inc/functions/lib/dompdf/, installed with Composer, together with its
dependencies dompdf/php-font-lib 1.0.2, dompdf/php-svg-lib 1.0.2, masterminds/html5
2.10.1, sabberworm/php-css-parser 9.4.0 and thecodingmachine/safe 3.4.0)
endroid/qr-code 5.1.0 – QR code generation – https://github.com/endroid/qr-code – MIT
(bundled in inc/functions/lib/qrcodegen/, installed with Composer, together with its
dependencies bacon/bacon-qr-code 3.0.1 and dasprid/enum 1.0.6)
jsQR 1.4.0 – QR decoding in the check-in scanner – https://github.com/cozmo/jsQR – Apache-2.0
(inc/scanner/js/jsqr.js)
ApexCharts 6.9.0 – charts on the analytics screen – https://github.com/apexcharts/apexcharts.js – MIT
(inc/analytics-dashboard/lib/apexcharts.min.js)
Air Datepicker 3.6.0 – date picker for timeslots – https://github.com/t1m0n/air-datepicker – MIT
(lib/air-datepicker/)
The two Composer-installed libraries can be regenerated from their composer.json with
composer install; the three JavaScript libraries are the unmodified dist files
published by their projects on npm, and their readable sources live in the linked
repositories.
