EP Class Passes
EP Class Passes adds pre-paid class credit packs to a studio, the classic 10-class pass. A pass is sold as an EP Ecommerce product, and its credits are tracked in an append-only ledger so the balance is always a sum, never a stored number that can drift.
Published by ElmsPark Studio.
Overview
Section titled “Overview”- Sold as a product. A class pass is a new EP Ecommerce product type. Buying it issues a pass to the customer.
- Append-only ledger. Every change (purchase, redeem, reinstate, forfeit, expire, refund, admin adjust) is a ledger row. The balance is always computed.
- Shelf-life expiry. Passes can expire a fixed number of days from purchase, or from first use.
- Eligibility. A pass can be limited to specific class types.
- Auto-deduct at booking. When a member books a single class at the EP Events register, one credit is deducted automatically and the card is skipped entirely.
- Fair cancellation. An in-policy cancel reinstates the credit; a late cancel or no-show forfeits it.
- Owner tools. A member balance and history view, admin comp-grant and adjust, and a nightly expiry sweep with nudges.
Requirements
Section titled “Requirements”- PageMotor 0.8.3b or later
- EP Ecommerce 0.1.25 or later
- EP Events for the booking auto-deduct
Installation
Section titled “Installation”ep-class-passes.zipcomes with an EP Suite licence — ElmsPark supplies it directly (see EP Suite plugins); after install it updates through your site’s Updates screen.- Upload via Plugins → Manage Plugins. Activate.
- Create a class-pass product in EP Ecommerce, set its credits, validity and eligible class types, and sell it like any other product.
Changelog
Section titled “Changelog”1.2.15
Section titled “1.2.15”A security update. Please install it.
- Credits need a confirmed email. An account that EP Membership registered but whose email was never confirmed can no longer spend class-pass credits; it pays by card instead.
1.2.14
Section titled “1.2.14”- Settings language menu. The language menu in this plugin’s settings now lists only the languages it is actually translated into, plus English, so you can no longer pick a language that changes nothing.
1.2.13
Section titled “1.2.13”- Class pass credits are better protected. Members may need to sign in before booking with credits.
- Pass credit handling is more robust.
- Refunded passes stop working. If the order a pass was bought with is refunded in full, the pass is withdrawn and its remaining credits are removed, before any further class can be booked with it and in the nightly sweep.
- A credit booking now gets its place, ticket and confirmation email through EP Events (1.0.65 or later). If the class filled up at that moment, the credit is handed straight back.
1.2.12
Section titled “1.2.12”- Corrects the PageMotor 0.11.3 preparation shipped in 1.2.11. That release grouped this plugin’s API and MCP actions into families, but in a shape PageMotor 0.11.3 does not accept. On 0.11.3 the plugin would have registered none of its actions, and nothing on screen would have said so.
- This version uses the shape 0.11.3 expects, and keeps the earlier shape for sites still on an older PageMotor. One build serves both, so there is no order you have to update things in.
- Safe to install now. Nothing you can see changes.
- “on first use” is no longer shown for passes that never start a clock. Passes with no day limit now read “never expires” in both the admin member table and the member balance card.
- Version badge missing from the admin header. The version now shows correctly.
- Nightly maintenance is now easy to set up. A new “Nightly maintenance” section shows what to schedule, plus a “Run expiry sweep now” button for manual runs.
- Admin buttons could submit PageMotor’s settings form. The comp-grant and per-pass +/- buttons had no
typeattribute, so they defaulted totype="submit"; a click before the async admin JS attached its handler could submit the whole settings form (“Settings NOT saved!”). All admin buttons are nowtype="button".
Your AI assistant can now look up a member’s pass history directly.
Member balance and history surface, the booking pre-payment hook for auto-deduct and reinstatement, and read-only API actions for an LLM.