Skip to content

Installation

  • CS-Cart, CS-Cart Ultimate, Multi-Vendor or Multi-Vendor Ultimate 4.17.2 up to 4.22.x.
  • PHP 7.4 to 8.3 (the range your CS-Cart version supports) with the GD extension (CS-Cart requires it) for the QR image.
  • A cron job (recommended) for the reminder e-mails.
  • Optional: the core PDF documents add-on active, to get real PDF files. Without it the ticket is a printable page with the same content.
  • For the camera scanner the scanner page must be opened over HTTPS (browsers only give the camera to secure pages). Scanning from a photo and typing a code also work without it.
  1. Download the add-on package (kv_event_tickets-1.0.0.zip).
  2. In the admin panel open Add-ons, Manage add-ons, click the plus button and upload the zip.
  3. Activate the add-on in the list.
  4. Open the add-on settings, License tab, and enter your license key (or the CS-Cart Marketplace license number in the Manage add-ons list). Without a valid license new tickets are not issued and reminders stop; tickets already issued and the door scanner keep working, see Configuration.
  5. Set up the cron job from the Cron tab (see below).

The package creates five tables (kv_et_events, kv_et_types, kv_et_lines, kv_et_tickets, kv_et_scans), two editable e-mail templates (tickets, reminder), three privileges (view, manage and scan event tickets), one admin menu entry (Orders, Events & tickets) and the Event tab of the product editor. Uninstalling removes the tables, the privileges and the settings. Orders stay as they are, because they are core data.

Run the pass every 15 minutes:

*/15 * * * * php /path/to/your/store/admin.php --dispatch=tickets.cron

Or call the URL shown in the settings (it contains a secret key). Without a cron, the pass runs after admin page views, at most every 5 minutes, which is enough for a quiet store but not for a store nobody opens.

Upload the new zip over the installed add-on (Add-ons, Manage add-ons, plus button) or install the Upgrade Center package. The add-on repairs missing tables, settings, language variables and e-mail templates itself on the next admin request.

  • CS-Cart Ultimate 4.17.2 and Multi-Vendor 4.17.2 (install, uninstall, reinstall, order flow, storefront, admin, vendor panel, scanner, license gate).
  • PHP 8.1 and PHP 8.3 syntax and compatibility checks; Smarty 4 and Smarty 5 safe templates; Twig 2 and 3 safe e-mail templates.
  • CS-Cart 4.21 and 4.22: no 4.21-only function is used without a guard; the compatibility notes are in the changelog.