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_detailhook
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 |
| Always. Prints the code and address at 60 mm |
Notes / limits
- Share and Copy link stay hidden until the browser supports them.
vendor/qrcode.jsandvendor/qrcode-utf8.jsare QR Code Generator for JavaScript by Kazuhiko Arase (MIT), included unchanged. Seevendor/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.
Support
https://github.com/mindstellar/shopclass-plugins/issues
What's new in 2.0.1
Changed
- Tested up to ShopClass 6.4.
Found a problem with QR Code? Open an issue on GitHub.

