Adds a QR code to each listing, to scan from a screen, share or print.
Requirements
ShopClass 6.1.0 or later
PHP 8.0 or later
A browser with ES modules and dynamic import() (any browser since 2018)
The theme must call the item_detail hook
Install
Open Plugins → Browse (or upload the zip from the GitHub release).
Install.
Activate.
Set up
Open Plugins → Manage plugins, then Settings next to QR Code.
Pick the Error correction level: L, M (recommended), Q or H.
Save.
M survives a scuffed print or an off-angle scan. H gives about 30% damage tolerance but a denser symbol.
How it works
Every listing page gets a "Show QR code" button. No theme edit needed.
The code is drawn in the browser as SVG, only when asked, so it stays sharp in print. No files are stored on the server.
The button opens a dialog with the code and the listing address.
Action
When it shows
Share
The browser has the Web Share API
Copy link
The browser has the Clipboard API
Print
Always. Prints the code and address at 60 mm
Notes / limits
Share and Copy link stay hidden until the browser supports them.
vendor/qrcode.js and vendor/qrcode-utf8.js are QR Code Generator for JavaScript by Kazuhiko Arase (MIT), included unchanged. See vendor/LICENSE. The UTF-8 file is needed so URLs with non-ASCII characters scan correctly.
Derived from the Osclass "QR Codes" plugin (1.0.3). See CHANGELOG.md.
You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.