Linux 软件免费装
Banner图

RecordToko

开发者 original69
更新时间 2026年11月22日 20:50
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce qr code records vinyl discogs

下载

0.6.2 0.7.0 0.6.0 0.6.1 0.1.1 0.2.0 0.3.0 0.4.0 0.4.1 0.5.0 0.5.1

详情介绍:

Built for record shops and collectors who sell on Discogs and want their own webshop next to it - without keeping two inventories by hand. RecordToko imports your Discogs marketplace inventory into WooCommerce and keeps the two in step. A record sold on Discogs goes out of stock in your shop; a record sold in your shop goes offline on Discogs. With the built-in Fair/Shop Scan module (off until you switch it on) you can also sell at a record fair or across the counter of a physical shop: scan the small QR sticker on the sleeve with your phone, tap Sold, and your webshop and Discogs follow. Setup: see Installation. Every screen, setting and message: see the FAQ. Overview Requirements How syncing works The sync runs in the background and needs your Discogs access token; without one nothing is scheduled and the Sync tab says so. When the plugin changes a listing, your own details (notes, offers, location, weight, your own reference) go back to Discogs unchanged. More: see FAQ. Fair/Shop Scan: selling at a fair or in your shop Put a small QR sticker on each sleeve, next to your own price label. When a record sells at a fair or across your counter, scan the sticker with your phone and tap Sold: the shop stock goes down by one and RecordToko takes the Discogs listing offline, as after a shop sale. You never sell a record online that already left at a fair. Printing stickers Each sticker is a 29 × 26 mm PDF page for a 29 mm continuous roll: a QR code, "Artist – Title" and the grading, for example "VG+ / VG". Never a price. Print a batch from the app's Stickers tab, or one again from Search. Why this printer Fair/Shop Scan was built and tested with the Brother QL-820NWB (the QL-820NWBc variant): The roll and other printers: see FAQ. Third-party libraries Fair/Shop Scan bundles these libraries: The bundled PHP copies are prefixed with RecordToko's own namespace so they cannot clash with other plugins; licence files are included. Privacy Discogs API usage and disclaimer This application uses Discogs' API but is not affiliated with, sponsored or endorsed by Discogs. 'Discogs' is a trademark of Zink Media, LLC. Responses from the Discogs API are cached for at most 6 hours. The details an import writes into products (cover image, track list, label, catalogue number, genres/styles) stay in your shop, each product page with the "Data provided by Discogs" notice and a link to the release, as the Discogs API terms of service require. You use the API with your own token, so the Discogs API Terms of Use apply to your shop too: see the FAQ "What do the Discogs API terms mean for my shop?".

安装:

Getting started
  1. Install the plugin through the WordPress plugins screen, or upload the plugin files to /wp-content/plugins/recordtoko, then activate it on the "Plugins" screen. WooCommerce must be installed and active.
  2. Get your Discogs token. Log in to Discogs, go to discogs.com/settings/developers and click "Generate new token".
  3. Settings. Go to WooCommerce → Discogs Sync → Settings, paste the token, set your price rule and click "Save settings" (see below). Check first that your shop currency (WooCommerce → Settings → General) is the currency you sell in on Discogs: RecordToko copies the amounts and does not convert. Keep the token safe (see "Keeping your token safe" below).
  4. First import on the Import tab, with the mandatory dry run (see below). Check a few products in your shop.
  5. Practice mode. Watch the sync in practice mode for a while, then switch it off (see below).
  6. Optional. Tick "Add new Discogs listings to the shop automatically" on the Sync tab, and switch on Fair/Shop Scan if you sell at fairs or in a shop.
RecordToko's screen, WooCommerce → Discogs Sync, has six tabs: Settings, Import, List on Discogs, Orders, Sync and VAT. Only users who can manage WooCommerce (administrators and shop managers) see it. The last four are explained in the FAQ. The Settings tab The first import (Import tab)
  1. "Step 1: choose a source": "Upload a Discogs inventory-export CSV" (.csv up to 10 MB; button "Upload and preview"), or "Fetch from Discogs": click "Request export from Discogs", wait a few minutes while Discogs prepares it, then click "Download prepared export". The CSV upload is recommended; fetching needs your access token.
  2. "Step 2: preview (dry run)": totals for what will be created, updated and left alone, plus a sample of rows (action, SKU and product name). Prices, stock and status show after the import: check a few products then. Records that left the shop before are checked on Discogs first.
  3. "Step 3: confirm": click "Run import for real". The import runs in batches in the background, with a live progress bar and the tail of the change log. "Reset stuck import" clears a stuck import; an import that stalls for over an hour is cleaned up automatically.
Use the unmodified export from Discogs (Marketplace → Export inventory). Do not open and re-save it in a spreadsheet first: that can change the price format, and the plugin refuses a malformed row loudly (naming the row) rather than import it wrongly. Both Discogs export formats are understood, including the newer one with condition codes. Per record an import creates a WooCommerce product with the SKU RTK-<Discogs listing ID>; the name "Artist – Title (Format, Year)"; a description with label and catalogue number, media and sleeve condition, your notes and a track list table; the cover image; genres and styles as categories; stock from the number of copies; the record details (condition, catalogue number, release ID); and the shipping weight from the CSV's weight column (grams, converted to your store's weight unit; a hand-set weight is kept when the listing has none). Listings that are not "For Sale" arrive as drafts. Every product page carries the "Data provided by Discogs" attribution required by the Discogs API terms. Re-importing is safe: records are matched by SKU, so you get updates, not duplicates. Price, status and categories are refreshed; stock is never raised by an import (an export can be older than the last reconciliation). The product name, descriptions, any photo you added yourself and a price you set by hand are left untouched. Products that RecordToko did not create are never touched, even if their SKU matches. Practice mode The sync starts in practice mode, on by default and separate per direction: Every action it would have taken is written to the log with a "(practice mode)" marker. Watch "Recent sync activity" on the Sync tab for a while. Then untick "Practice mode — shop stock" first: it only touches your own shop, and while it is on, records sold on Discogs stay for sale in your shop (wp-admin warns you). Untick "Practice mode — Discogs" once the log looks right. What happens to sales made in practice mode: Discogs sales are applied by the next daily reconciliation once "Practice mode — shop stock" is off; click "Run full reconcile now" on the Sync tab to apply them at once. Shop sales made while "Practice mode — Discogs" was on are not sent afterwards: the Sync tab lists them under "Unreflected shop sales" - take those listings offline on Discogs by hand. Keeping your token safe Switching on Fair/Shop Scan You need HTTPS, pretty permalinks and a phone with a camera (see Requirements).
  1. WooCommerce → Discogs Sync → Settings → "Selling at a fair or in a shop": tick "Sell records by scanning a QR sticker with your phone" and save. A new page appears: WooCommerce → Fair/Shop Scan. If the old separate plugin "RecordToko Fair Scan" is still active, the module stays off and a notice tells you to deactivate that plugin first (see below).
  2. On the Fair/Shop Scan page, choose the mode and check that no warning is shown (see below).
  3. Install the app on your phone (see below), and optionally in Chrome on a laptop.
  4. Print a sticker and make a first test sale (see below).
Switching the module off removes the app from your site on the next page load. Stickers already on sleeves keep leading customers to the record; settings and data stay until you uninstall RecordToko. The Fair/Shop Scan page Only users who can manage WooCommerce see this page. It holds: Installing the app on your phone The app is called Scanner and lives at https://your-shop/scanner/. No app store, no developer mode.
  1. Open the app address in Safari on your iPhone (the link is on the Fair/Shop Scan page).
  2. Log in with your shop account and tick "Remember Me": WordPress then keeps you logged in for two weeks instead of two days.
  3. Tap Share → Add to Home Screen. You get an ordinary app icon: your site icon if you set one, otherwise a standard icon.
  4. Open the app from the home screen. If it asks you to log in again, that is normal: a home-screen app keeps its own login, separate from Safari. Tick "Remember Me" again.
  5. Allow the camera when asked.
The app has four tabs at the bottom: Scan, Today, Search and Stickers. The first time you need a connection. Setting up Chrome on a laptop (once) On a laptop, print stickers from Google Chrome, with Chrome's own print dialog (see FAQ: "Why only Chrome for printing on a laptop?").
  1. Paper size. Chrome lists the paper sizes your printer driver offers; one of them must be 29 × 26 mm. Out of the box the printer driver did not offer it in the test: the dialog used the driver's default label size (12 × 12 mm) and the sticker came out tiny. The tested Mac setup added a custom 29 × 26 mm size to the printer's description file (PPD) by hand; that file is not part of the plugin. If you cannot add the size, print from your phone, or save the PDF and use the Terminal command lp -o media=Custom.29x26mm -o CutMedia=EndOfPage qr-stickers.pdf, which passes the size itself and cuts after every sticker.
  2. Install the app in Chrome (optional but handy): open your app address in Chrome and click the install icon in the address bar, or install the page as an app from the Chrome menu. You get a separate "Scanner" app. Log in with "Remember Me".
  3. First print. In Chrome's print dialog choose your Brother printer as "Destination". Under "More settings", check that "Paper size" is the 29 × 26 mm size. Do not change "Layout" or "Scale". Chrome remembers the printer: from then on it is Ctrl+P / Cmd+P → Print. Never click "Print using system dialog".
Scanning with the laptop's built-in camera works too: click "Start camera" and hold the sticker 20–30 cm from the camera. At a fair, the phone is handier. Printing your first stickers (Stickers tab)
  1. Open the Stickers tab. It lists published records with stock (and stock management), with LP selected and "Only without a sticker" ticked.
  2. Choose "LP", "Singles", "Other" or "All". Untick "Only without a sticker" to also see records that already have one, with the date it was printed. The format filter reads a product attribute "Format" (or "Formaat") with the terms lp, 7-inch, 10-inch and 12-inch. RecordToko does not create this attribute: without it every filter shows all records. Developers can point it elsewhere with the filters rtfs_format_taxonomy and rtfs_format_groups.
  3. Tick records, or tap "Select all". "Load more" shows the next 100. You can print at most 200 stickers at a time.
  4. Tap "Print (…)" and print (see FAQ: printing from a phone or a laptop).
  5. The app asks "Did the stickers come out right? Then they are marked as printed." Tap OK when they did: they leave the "Only without a sticker" list. Tap Cancel when something went wrong: they stay in the list and you simply print them again.
A first test sale Put a sticker on one cheap record, scan it and tap Sold. Check that the shop stock went down and the Discogs listing went to Draft (in tests this took 18 to 30 seconds). Then undo it on the Today tab and check that the listing is back For Sale. Coming from the separate "RecordToko Fair Scan" plugin Until RecordToko 0.7.0 the scan app was a separate plugin. The module uses the same addresses, settings and data, so nothing needs to be migrated:
  1. Update RecordToko to 0.7.0.
  2. Make sure no scans are waiting in the app (Today shows nothing orange or red).
  3. Deactivate the plugin "RecordToko Fair Scan" under Plugins.
  4. Switch on Fair/Shop Scan in RecordToko's Settings.
  5. Go to Settings → Permalinks and click Save once.
  6. Open WooCommerce → Fair/Shop Scan and check that no Fair/Shop Scan warning is shown.
  7. Check: a sticker scanned with an ordinary camera opens Discogs, /scanner/ opens the app (after logging in), and /beursscan/ redirects to /scanner/. Then do one real scan and undo it.
  8. Delete the old plugin only after that test scan worked. Deleting it removes only its files: it has no uninstall routine, so the scan log, sticker marks and settings stay.
Your printed stickers, sticker marks, scan history and settings carry over. An old home-screen icon that starts on /beursscan/ is redirected, but it does not work offline: let any waiting scans in it finish sending, then delete it and add the app again from /scanner/. The app's texts now come from RecordToko's own translations. Until a language pack for your language exists, the app is in English. To keep your language, put recordtoko-<locale>.mo (for example recordtoko-nl_NL.mo) in wp-content/languages/recordtoko/.

屏幕截图:

  • Import: upload a CSV or fetch your inventory straight from Discogs.
  • The mandatory dry-run preview - see exactly what will happen before anything is written.
  • Live progress with a running change log while the import processes in the background.
  • The result: a complete WooCommerce product with cover, condition, tracklist and Discogs attribution.
  • The Sync tab: practice mode, both sync directions, conflicts and the live activity log.
  • The VAT tab: margin-scheme settings, the margin report and the five-country reference.
  • Margin-scheme products show the mandatory mention instead of a VAT amount — on the product page and the order confirmation.
  • The List on Discogs tab: pick conditions, compare with Discogs price suggestions and create Draft listings — publishing stays a deliberate step.
  • The Orders dashboard: your latest Discogs and shop orders side by side, per-channel totals and your slowest movers.

升级注意事项:

0.7.0 New, off until you switch it on: Fair/Shop Scan, sell records at a fair or in a shop by scanning the QR sticker on the sleeve with your phone. Imports now also store the catalogue number; the daily reconciliation fills in missing details on older linked products. 0.6.2 With "Add new Discogs listings to the shop automatically" on, new Discogs listings now reach the shop within minutes instead of once a day. 0.6.1 Recommended before you switch off practice mode for Discogs: every change the plugin makes to a listing now keeps your own notes, offers setting, location, weight and own reference exactly as they are, and is checked afterwards. 0.6.0 Fixes records with several copies that stayed at 1 in the shop after updating from 0.4 or earlier (repaired automatically where safe), and records sold at home or in wp-admin that could come back in stock. New: optional automatic import of new Discogs listings. 0.5.1 Listings deleted on Discogs now take the record out of stock in the shop (with a safety brake), a deleted listing is no longer logged as an error, and Draft/Expired can optionally count as sold out. 0.5.0 Sync now follows the number of copies per Discogs listing and never restocks a sold record by itself. Practice mode is split per direction; both stay on after the update — review the Sync tab. Daily restore points added. 0.4.1 Small polish: the Listen tab with YouTube previews is now optional (Settings). 0.4.0 Bulk Draft creation for your whole stock, a combined Discogs+shop Orders dashboard with per-channel totals, and a slow-movers list. Practice mode still guards everything. 0.3.0 List your shop records on Discogs (Draft-first, with price suggestions) and lock hand-set prices against re-imports. Practice mode still protects everything. 0.2.0 Two-way sync and VAT tools. The sync starts in PRACTICE MODE: it changes nothing until you switch that off on the new Sync tab — safe to update. 0.1.1 Recommended for everyone: prices written with a comma are now refused instead of imported incorrectly, uninstalling removes all stored data including your access token, and products that RecordToko did not create are never touched.

常见问题:

Where do I get a token?

On discogs.com/settings/developers: click "Generate new token" and paste the token into "Access token" on RecordToko's Settings tab (see Installation).

Is this affiliated with Discogs?

No. This application uses Discogs' API but is not affiliated with, sponsored or endorsed by Discogs. 'Discogs' is a trademark of Zink Media, LLC.

What do the Discogs API terms mean for my shop?

You use the Discogs API with your own token, so its API Terms of Use apply to you. In short, as we read them (not legal advice):

  • Keep the "Data provided by Discogs" link RecordToko puts on every product page and under the Listen tab.
  • Put the notice from "Is this affiliated with Discogs?" in your shop's terms or policy pages; RecordToko adds it to its suggested privacy-policy text.
  • Marketplace data (listings, prices, orders) and Discogs images are "restricted data": not allowed in third-party advertising platforms such as ad product feeds. Use your own photos there.
  • The terms also limit commercial use of restricted data and ask that content is not shown more than 6 hours out of date. Stock and status follow within minutes; release details refresh on a re-import. When in doubt, ask Discogs.

Does it sell my data?

No. The plugin's server side only talks to Discogs (api.discogs.com, and i.discogs.com for cover images) to fetch your own inventory and release data. It sends no telemetry and shares no data with any other third party. See "Privacy" for what a visitor's browser loads.

Does the plugin write anything back to Discogs?

Only when you let it, and never by surprise. The sync starts in practice mode and logs what it would do without touching anything. Once you switch practice mode for Discogs off, a paid shop order (or a Fair/Shop Scan sale) sets a single-copy listing to Draft or lowers the quantity of a multi-copy listing, a cancelled order brings it back, and - only if you enable it - shop price changes are pushed to your listings. Records marked "Do not offer this record on Discogs" are never touched, and RecordToko never cancels a Discogs order. New listings are only created from the "List on Discogs" tab, by you, and always as Drafts first.

Does RecordToko ever delete listings on Discogs?

Not by default. A sale sets a single-copy listing to Draft (reversible) or lowers the quantity. Deleting instead is a separate setting on the Sync tab ("Delete the Discogs listing instead of setting it to Draft"), off by default, because a deleted listing cannot be restored. Fair/Shop Scan warns you on its settings page and in the app while that setting is on.

What is practice mode?

A safety net, on by default and separate per direction: "Practice mode — Discogs" never writes to Discogs; with "Practice mode — shop stock" Discogs sales and the daily reconciliation do not change your stock. Every action it would have taken is logged with a "(practice mode)" marker. When and how to switch it off: see Installation.

Will the sync change my own listing details on Discogs?

No. Whenever the plugin changes a listing (taking it offline, lowering the quantity, pushing a price, putting it back on sale), it sends back all of the listing's own fields exactly as Discogs holds them: notes, whether offers are allowed, location, weight and format quantity. Your own reference (external ID) is kept. Afterwards the plugin reads the listing back; if Discogs changed any of your fields anyway, the log gets a "sync-attention" line with the old values so you can put them back by hand.

Can I keep a record off Discogs?

Yes. Tick "Do not offer this record on Discogs" in the product editor and the sync will never create, update or pause a Discogs listing for that record.

Where does the shop price come from?

Normally Discogs is the source and your price rule sets the shop price. A price you edit by hand in WooCommerce is locked automatically and survives every re-import. If you deliberately edit prices in the shop and want Discogs to follow, switch on "Also push shop price changes to Discogs" on the Sync tab (off by default).

I sell several copies of the same record. Does that work?

Yes. RecordToko reads the number of copies on each Discogs listing and keeps the shop stock in step: one Discogs sale is one copy less in the shop, one shop sale is one copy less on Discogs. Discogs' API does not officially support lowering a quantity; when Discogs does not accept it you get a clear reminder to lower it by hand, and the daily reconciliation notices when you have. Returned records or extra copies: raise the quantity on Discogs and the shop follows at the next daily reconciliation. Raising only the shop stock does not last for a record linked to Discogs: the reconciliation sets it back. RecordToko never raises a Discogs quantity itself. A multi-copy listing that went offline because every copy sold stays offline after a cancelled order, with a note to relist it by hand at the right quantity.

Do new Discogs listings appear in my shop automatically?

Only when you tick "Add new Discogs listings to the shop automatically" on the Sync tab (it needs one import on the Import tab first). Every order check (every 5 minutes by default) then also looks at your newest For Sale listings on Discogs and adds new ones: up to 10 per check, oldest first, each checked on Discogs right before it is added, exactly as an import adds it (price rules, photo, track list, number of copies). A batch of a hundred is in within the hour. This quick check costs one Discogs request when nothing is new and logs only when it adds something or fails; a record that fails three checks is left to the daily reconciliation, which adds what the quick check could not see (up to 25 a day). The quick check pauses while a manual import runs, after a reconciliation that hit its safety brake, and in practice mode for the shop stock. Records you deleted from the shop, or listed from the shop, are never brought in. Without the setting, new listings come in with your next import.

What happens to existing products when I re-import?

They are updated, not duplicated: products are matched by SKU, which holds the Discogs listing ID. What is refreshed and what is kept: see Installation, "The first import".

Which file does the CSV upload expect?

The unmodified inventory export from Discogs (Marketplace → Export inventory), not re-saved in a spreadsheet - see Installation.

Why is a dry run mandatory?

Because an import can create or change hundreds of products at once, the plugin always shows you what will be created, updated and left alone - and any errors - before anything is written. You confirm explicitly before the real import runs.

Will I run into Discogs rate limits?

The plugin throttles itself well below the official limits and pauses automatically when Discogs asks it to. Large imports simply take a little longer; a personal access token more than doubles the speed (60 instead of 25 requests per minute).

What is on the List on Discogs tab?

Tools to list records from your shop that are not on Discogs yet. Needs your access token.

  • "Records not yet on Discogs": pick media and sleeve condition, set your asking price and compare it with Discogs' price suggestions per condition ("Get price suggestions"). Leave the Discogs price empty to list at the shop price. "Save details" keeps your choices; "Create Discogs drafts for selected" creates the listings - always as Drafts, holding one copy. With more copies in the shop, raise the quantity on Discogs after publishing; until then RecordToko keeps your shop stock and reminds you in the Sync log.
  • Records added by hand need a Discogs release: use the built-in release search ("Search Discogs", then "Use this release").
  • "Queue drafts for ALL listable records" creates Drafts for every listable record with a linked release, in the background, within Discogs' speed limits. Records without a release, or marked "do not offer on Discogs", are skipped and logged. Nothing is published automatically.
  • "Drafts ready to publish": review your Drafts (here or on Discogs) and click "Publish selected drafts (For Sale)". A record that sold since its draft was made is skipped.
In practice mode for Discogs nothing is created or published; it is only logged.

What does the Orders tab show?

A read-only overview; managing orders stays on Discogs and in WooCommerce. "Recent orders": your newest Discogs and shop orders in one list - date, channel, buyer, items, total, status ("Refresh Discogs orders" fetches the latest; without a token only shop orders). "Insights": orders and revenue per channel over the last 30 and 90 days, refunds included. "Slow movers": the ten records in stock the longest, with their age.

What is on the Sync tab?

  • A banner with the practice-mode state: "Live in both directions." when both are off.
  • "Status": your Discogs user, next order check, next reconcile, last processed order, last reconcile, listings deleted on Discogs and how the last automatic import of new listings went.
  • "Sync settings": "Practice mode — Discogs", "Practice mode — shop stock", "Follow Discogs sales in the shop", "Follow shop sales on Discogs", "Also push shop price changes to Discogs" (off by default), "Delete the Discogs listing instead of setting it to Draft" (off by default and permanent), "Treat Draft/Expired listings as sold out" (off by default because a Draft can be temporary; deleted listings always count as sold out), "Add new Discogs listings to the shop automatically" (off by default) and "Check interval" (5, 10, 15, 30 or 60 minutes).
  • "Run manually": "Run order check now" and "Run full reconcile now".
  • "Unreflected shop sales": shop sales that Discogs does not show yet, with advice per record ("take the listing offline on Discogs" or "lower the Discogs quantity to …").
  • "Conflicts": double sales and other problems that need you.
  • "Recent sync activity": the last 25 sync lines of the log.
  • "Restore points": a daily snapshot of stock, price and status of every record linked to a Discogs listing, kept 14 days. "Restore" puts them back (it never touches Discogs, and never raises the stock of a record linked to Discogs, because copies may have sold since); "Download CSV" exports one; "Take snapshot now" makes one by hand.

Does RecordToko handle VAT for second-hand records?

Yes, on the VAT tab. It is a bookkeeping aid, not tax advice.

  • "VAT settings": "VAT mode" ("Normal VAT", "Margin scheme" for second-hand records bought without deductible VAT, or "Exempt" for small-business schemes such as the Dutch KOR or the German Kleinunternehmerregelung), "Country", "Calculation method" ("Globalisation (period totals)", mandatory for records in the Netherlands, or "Per item", the UK method), "Standard VAT rate", "Margin items" (whether new imports are margin items by default), "Invoice mention" and "Small-business turnover threshold".
  • In margin mode customers never see a VAT amount or rate, and every product page and order confirmation carries the mandatory mention for your country (editable).
  • "Margin report": the VAT due for your return over a period, with negative-margin carry-over ("Save carryover for next period") or per item, and a CSV export. Refunds lower the margin sale.
  • "Turnover monitor": warns you when you approach your small-business threshold, counting the full sales price as the EU Court requires, not just the margin.
  • "Country reference": rates, legal bases and the exact mandatory invoice mentions for the Netherlands, Belgium, Germany, France and the UK.

What does RecordToko add to the product editor?

In the General panel, under "RecordToko": for records linked to Discogs "Do not offer this record on Discogs", a link to the listing, and "Price locked" (set automatically when you edit the price by hand; untick to let the price rule take over again); for every product "Media condition", "Sleeve condition", "Discogs release ID" (links the record to a Discogs release for listing and enrichment), "Purchase price" (for the margin report) and "Margin-scheme item (second-hand, bought without deductible VAT)".

Which warnings does RecordToko show in wp-admin?

When shop-stock practice mode is on, when shop sales are not reflected on Discogs yet, and when the daily reconciliation hit its safety brake. Each notice links to the Sync tab.

What do I need for Fair/Shop Scan?

Your shop on HTTPS with pretty permalinks, a phone with a camera (tested: iPhone with Safari), and for the stickers a label printer that prints a 29 × 26 mm page - tested with the Brother QL-820NWB and its 29 mm DK-22210 roll. No app store, no extra service: the app is served by your own shop. Setup: see Installation.

Can a customer sell a record by scanning my sticker?

No. A customer's camera only follows the address to Discogs or your shop. Only a logged-in user with the recordtoko_scan permission, in the app, can register a sale.

What is the difference between Fair and Shop mode?

In Fair mode (the default) a scan only lowers the stock. No order, revenue or invoice is created: fair sales do not appear in WooCommerce orders, on RecordToko's Orders tab or in the VAT margin report. In Shop mode every scan becomes a completed WooCommerce order for one copy at the record's shop price, with the order note "Fair sale". WooCommerce lowers the stock itself, and the sale counts in your orders and reports. Taxes are calculated like a normal order (the order has no address, so WooCommerce uses the shop's base address), so the total is the shop price also when you charge normal VAT; products under the margin scheme or exemption carry no VAT. The order has no customer and no payment method, and you cannot enter the price actually agreed in the app. Undoing the scan cancels the order. WooCommerce's "New order" e-mail is not sent for these orders. The app shows "Each scan is recorded as an order (setting)." at the top. Either way the Discogs listing follows.

I sell as a business. What must I keep?

If you sell as a business you will normally have to keep your own records of every sale (for example date, price and how it was paid; under the margin scheme also the purchase price). What exactly is required differs per country - ask your accountant. In Fair mode the app keeps none of this: not in WooCommerce, and not on the phone beyond a week. Shop mode records an order per scan, but at the shop price, not necessarily the price you agreed. This is general information, not tax advice.

Can a helper scan without being an administrator?

Yes. Give their WordPress user (or role) the capability recordtoko_scan with a role-editor plugin. Such a helper sees and sells published products only (no drafts or private products) and gets no other admin access. Administrators and shop managers can scan automatically, on every product; the Fair/Shop Scan settings page stays for shop managers. Every scanner logs in with their own account, and the scan log keeps for 30 days who scanned what: tell your staff. The server accepts at most 120 sell and undo requests per minute per user; above that it answers with HTTP 429 (too many requests) and the app's queue simply sends later. No scan is lost.

How do I sell a record, step by step?

  1. The customer pays. The price is on your own label; the app knows no prices.
  2. Open the app. You land on the Scan tab and the camera starts. If it does not, tap "Start camera".
  3. Hold the QR sticker in the frame ("Point the camera at a QR sticker").
  4. A confirm card opens with the photo, artist, title, "Cat. no.", the "Media" and "Sleeve" condition and "In stock: …". Check that it is the right record.
  5. Tap the big Sold button. You see "Taken offline", or with several copies for example "Taken offline — 1 left". RecordToko then takes the Discogs side in the background (in tests 18 to 30 seconds).
  6. Same customer buying more? Keep scanning. Under the camera you see for example "Customer 4 · 2 records".
  7. Next customer: tap "Next customer". The bar flashes and you see "Customer 5 — new sale". The button stays grey until you have scanned something for this customer. This keeps each customer's records together, so you can later undo a whole sale at once. Customer numbers start again every day.
Messages appear at the top, under the title, so they never cover your buttons; tap one to close it. A double tap on Sold, or the same sticker in front of the camera for a few seconds, still counts as one sale. No sticker on the sleeve? Tab Search: type at least two characters of the artist, title, catalogue number or SKU (every word must match). Tap the record for the same confirm card, then "Sold". Search shows up to 20 published products; private or draft products are not included. Records only in your webshop (not on Discogs) can be sold too: they carry the label "Shop only (not on Discogs)" and only the shop stock changes. Products without stock management (for example made to order) show "Made to order — nothing to take offline" and have no Sold button.

What do the app's messages mean?

  • "Taken offline": done. The shop stock went down; Discogs follows by itself.
  • "Already offline / sold — nothing changed": this record was already at 0 - perhaps it just sold online. Check your shop orders and Discogs before you hand it over.
  • "Already processed": this scan was already counted (for example a double tap).
  • "Made to order — nothing to take offline": the product has no stock management.
  • "Saved — sent as soon as there is a connection": no connection; the scan waits on the phone.
  • "Failed" (and a red "… failed — see Today" button at the top): the shop could not process the scan. Go to Today and tap "Try again".
  • "Not one of our QR codes": a QR code from somewhere else. Look the record up under Search.
  • "Not found in the shop": the record is not (or no longer) in the shop.
  • "You are logged out. Your scans are kept; log in to send them.": tap "Log in"; nothing is lost.
  • The four RecordToko warnings (practice mode, no Discogs token, shop sales not sent, deleting; listed under Installation, "The Fair/Shop Scan page"): a sale will not reach Discogs, or will delete there. Fix the setting in RecordToko or stop scanning.
  • "This browser does not keep your scans: keep the app open until everything is sent.": the browser cannot store anything (for example private browsing).
  • "Could not save on this phone. Close the app completely and open it again, then repeat this.": the phone's storage connection dropped.
  • "Camera not allowed …" or "The shop blocks the camera …": see "The camera is blocked. What now?".

How do I undo a sale?

Open the Today tab. Your sales are grouped per customer ("Customer 4 · 14:32") with their records underneath, without amounts. One record back: tap "Undo" next to it and confirm "Put this record back on sale?". The whole sale back: tap "Undo whole sale" and confirm. Undo works without a connection too; it then waits in the queue like a sale.

  • Single copy: shop stock +1, and RecordToko puts the Discogs listing back For Sale.
  • Several copies: shop stock +1, but raise the quantity on Discogs yourself. The app says so: "Raise the quantity on Discogs yourself (RecordToko never raises it)."
  • Shop mode: the order the scan created is cancelled, and WooCommerce puts the stock back.
A sale from an earlier day cannot be undone in the app: raise the stock by hand in WooCommerce (and on Discogs if needed). Today shows today's scans, plus older ones still waiting or failed, each with its state: "waiting for connection", "processed", "not sold", "failed", "undo waiting for connection", "undone" or "undo failed". The phone keeps this list for a week. After a fair, check that nothing is orange or red any more.

Does the app work without internet?

Yes. Every scan goes into a queue on the phone first:

  • An orange button at the top shows how many scans wait, for example "3 waiting for a connection". Tap it to send now; otherwise they go by themselves as soon as there is a connection, retried every 30 seconds.
  • "Offline" at the top means the phone has no network.
  • Every scan counts once, even if it is sent twice: the server remembers each scan for 30 days.
  • Without a connection the app may not know the record and show only its code: "No connection: details unknown. The sale is sent as soon as there is a connection." Check the label yourself.
  • If one scan keeps failing on the server, the others still go through; after three rounds that one is marked failed with "Try again". When the whole site is unreachable or busy, nothing is marked failed: the queue waits.
The first time you open the app you need a connection, and searching and printing always need one. At the end of the day, leave the app open until everything is sent.

What does a customer see when scanning a sticker?

The sticker holds a short address on your own shop: https://YOUR-SHOP/Q/<code>, where the code is the product number. A customer who scans it with an ordinary phone camera lands on:

  • your Discogs listing of that record, while it is in stock and listed;
  • the record's release page on Discogs once it has sold (or has no listing), where they can add it to their collection or wantlist;
  • the product page in your shop, when the record has no Discogs release;
  • your shop's home page, when the product is not public (draft, private, hidden from the catalogue or password-protected) or no longer exists.
The address is a plain redirect: it sets no cookie, adds no tracking and is never indexed by search engines.

Do printed stickers keep working?

Yes. The address does not change when you change the app address or update RecordToko. Once Fair/Shop Scan has been on, it also keeps working after you switch it off, as long as RecordToko is active, the product exists and permalinks are not "Plain".

Which languages does the app speak?

English, plus every language RecordToko has a translation for on your site. With more than one, a language button appears at the top right (for example "EN | NL"). The choice is saved for your user account only; your shop and wp-admin do not change. Translations are read from wp-content/languages/recordtoko/ first (your own files, never touched by updates), then from the language packs in wp-content/languages/plugins/.

The camera is blocked. What now?

The shop must run on HTTPS: browsers only give a web page the camera over HTTPS. Some servers and security plugins also send the header Permissions-Policy: camera=(), which forbids every page of your site to use the camera. Chrome, Edge and other Chromium browsers then block the camera without asking; Safari on the iPhone ignores the header. The app shows "The shop blocks the camera (Permissions-Policy camera=()). Set it to camera=(self) in the server settings." Change camera=() into camera=(self) where the header is set - often .htaccess, the server configuration or a security plugin - and keep the rest of the header. camera=(self) lets only your own site use the camera. If the browser itself refused the camera ("Camera not allowed. Allow the camera for this site in the browser settings, then tap Start camera."), allow it for your shop in the browser (usually via the icon at the left of the address bar), reload, and tap "Start camera".

What exactly is on a sticker?

The QR code (15.5 mm, large enough for a customer's phone to read it from a little distance); under it, in small bold type, "Artist – Title" on one line (shortened with "…" when too long), so you can match a stack of stickers to the right sleeves; and the grading as "media / sleeve", for example "VG+ / VG" or "NM / Generic". Never a price: put the sticker next to your own price label. Records that already have a label only need a QR sticker added. How to choose and print a batch: see Installation, "Printing your first stickers".

How do I print one sticker again, or several copies?

Damaged or lost: tab Search → tap the record → "Print sticker". On a phone the print sheet opens at once, because the app already fetched the sticker while the card was open; this works at a fair too, with the printer on battery and your phone as hotspot. Several copies of the same record share one QR code: print the sticker as many times as you have copies. Every scan counts as one copy.

How do I print from my iPhone?

After "Print (…)" the iOS share sheet opens: choose Print, then the printer. If fetching the stickers took a moment, a "Print sticker" button appears first - tap it. iOS takes the 29 × 26 mm size from the PDF, also for a stack of stickers. Keep the app open and the phone unlocked while printing. Printing from Android phones is untested.

Why only Chrome for printing on a laptop?

The stickers open as a PDF in a new tab (allow pop-ups for your shop). Browsers that always print through the Mac's system print dialog (tested: Vivaldi) turned the sticker a quarter turn, also in a square 29 × 29 mm test, so the shape stays 29 × 26 mm. Safari shrinks it. Chrome's own print dialog prints it exactly, provided the driver offers that paper size (see Installation). Other browsers and Windows are untested.

Do I have to buy the Brother QL-820NWB?

No, but it is the only printer tested. Its roll, the DK-22210, is 29 mm continuous paper, so the PDF sets the sticker length (26 mm); about 1 mm is lost at a cut edge, so the QR code and text stay clear of the ends. At 300 dpi the bold text stays sharp. Other AirPrint label printers with a 29 mm continuous roll may work but are untested: print one sticker first and check that it scans.

Troubleshooting: the app shows a 404 or a WordPress page

Check that Fair/Shop Scan is switched on, that the old separate plugin is not active and that permalinks are not "Plain". Then go to Settings → Permalinks and click Save once.

Troubleshooting: a notice says the module needs its QR and PDF libraries

"RecordToko Fair/Shop Scan needs WooCommerce and its QR and PDF libraries. Reinstall RecordToko from wordpress.org." means files are missing: reinstall the plugin.

Troubleshooting: scans do not reach Discogs

Look at the warnings at the top of the app or on the Fair/Shop Scan page. Discogs is only updated when RecordToko has an access token, "Practice mode — Discogs" is off and "Follow shop sales on Discogs" is on. The Sync tab's activity log shows what RecordToko did with each sale.

Troubleshooting: scans stay orange

The orange "… waiting for a connection" button: check the phone's connection and tap it. If the app says you are logged out, tap "Log in": your scans are kept.

Troubleshooting: nothing comes out of the printer

A half-sent print job may be stuck, and the printer then refuses everything. Switch the printer off and on, cancel the job (on the iPhone: app switcher → Print Center), and print again. Keep the app open and the phone unlocked while printing.

Troubleshooting: the sticker is tiny, turned or shrunk

Tiny from a laptop: the print dialog used the driver's default label size - set up the 29 × 26 mm paper size (see Installation, "Setting up Chrome"), or print from your phone. Turned a quarter turn: you printed from a browser other than Chrome, or through the system dialog. Centred and shrunk: you printed from Safari on the Mac. Use Chrome's own print dialog.

Troubleshooting: a question mark in the sticker text

The sticker font knows Western European characters only; other scripts (for example Japanese or Cyrillic) print as "?". The QR code itself is unaffected.

Troubleshooting: no catalogue number or condition on the card

Older products may miss these details; the daily reconciliation fills them in for records still linked to a Discogs listing (not in practice mode for shop stock). You can also set the conditions in the product editor.

Will RecordToko support other marketplaces, like eBay?

Maybe: eBay is feasible (with your own free eBay developer keys), Vinted has no open API. Ask for it in the support forum; the next channel follows demand.

更新日志:

0.7.0 - 2026-11-21 0.6.2 - 2026-11-20 0.6.1 - 2026-10-30 0.6.0 - 2026-09-24 0.5.1 - 2026-09-24 0.5.0 - 2026-09-24 0.4.1 - 2026-08-26 0.4.0 - 2026-08-26 0.3.0 - 2026-08-26 0.2.0 - 2026-08-26 0.1.1 - 2026-08-25 0.1.0 - 2026-08-23