CMS plugins: principles
Plugins provided, sync directions, source of truth, conflicts — and what comes next.
The CMS plugins connect an existing store to QuoShop without writing code: install, paste a QuoShop key, choose what syncs. They all rely on the public API described here, and share the same PHP library (client, sync, webhook verification, idempotency).
Plugins provided
| CMS | Plugin | Requires | Tested on | Page |
|---|---|---|---|---|
| WordPress + WooCommerce | QuoShop for WooCommerce | WordPress 6.3, WooCommerce 8.0, PHP 7.4 | WordPress 7.1, WooCommerce 11.1, PHP 8.3 — HPOS and legacy order storage | Install |
| PrestaShop | QuoShop for PrestaShop (module quoshop) | PrestaShop 8.0, PHP 7.4 | PrestaShop 9.2, PHP 8.3 | Install |
Both plugins are tested end to end against the real QuoShop API, in a real WordPress and a real PrestaShop: catalogue imported, order sent and its ERP invoice checked, replays without duplicates, signed webhooks applied, key revoked then replaced.
What goes which way
QuoShop / QuoSuite ERP CMS (WooCommerce, PrestaShop)
────────────────────── ─────────────────────────────
published products title, descriptions, images, SKU, ─────► created / updated
price (promotions), categories
sellable stock absolute, computed by the ERP ─────► replaced (minus sales not sent yet)
withdrawals unpublished, archived ─────► draft / deactivated (never deleted)
orders ERP invoice for the full amount ◄───── sent once paid (or at the chosen state)
steps shipped / delivered / cancelled ◄────► both ways, without ping-pong
payments matched against the invoice ◄───── cash on delivery, transfer receivedThe source of truth
- Products, prices, stock: QuoShop / the ERP. The fields it sends (title, descriptions, reference, price, stock, images, QuoShop categories) are overwritten at each sync. Edit them in QuoSuite. Everything else belongs to the CMS and is never touched: tags, cross-sells, custom fields, your own categories, shipping class, reviews.
- The checkout: the CMS. It charges the customer, applies its shipping fees, sends its emails. QuoShop receives the order, prices it from its catalogue and invoices it.
Conflicts, and how they are settled
| Situation | Resolution |
|---|---|
| A field managed by QuoShop is edited in the CMS | the next sync overwrites it — the product screen says so |
| A CMS product has the same reference (SKU) as a QuoShop product | it is linked instead of duplicated (“link by SKU” setting) |
| Two updates arrive out of order | the most recent wins: each product, stock figure and order keeps the version applied (updatedAt, asOf) |
| The CMS sold units not sent yet | they are subtracted from QuoShop’s stock until sent: no overselling |
| CMS total ≠ QuoShop total (coupon, fees, VAT rate) | the order is refused (409), flagged on the order; nothing is invoiced at another amount |
| The order is edited in the CMS after being sent | the first request’s body is replayed as is; step and payment changes go through their own calls |
| The same order is sent twice | QuoShop recognises it (source + externalId): never two orders, never two invoices |
| A shipped order is cancelled in the CMS | refused by QuoShop, flagged: return and credit note are handled in QuoSuite |
| A change made in QuoShop (shipping, cancellation) | applied to the CMS without being sent back to QuoShop |
Security
- QuoShop key only — never a QuoSuite user’s credentials. A key without domains (server-to-server): useless from a browser if it leaked.
- Key and webhook secret encrypted at rest, never shown again (only the public prefix
qsh_…_••••is), masked in logs. - A key is tested before being saved; revoked or expired, the plugin pauses with a clear message and keeps orders queued.
- Every webhook is verified (HMAC-SHA256, 5-minute window, constant-time comparison), recorded once (unique index), processed after the answer.
- The key’s perimeter bounds what the CMS receives: never a cost, an ERP customer, an internal note.
Next
| Platform | Status | What it would take |
|---|---|---|
| Shopify | not provided | a Shopify app (OAuth, GraphQL Admin API, Shopify webhooks) hosted by QuoSuite — a service, not an installable plugin; the PHP library’s sync logic carries over |
| Magento / Adobe Commerce | not provided | a Magento 2 module on the same PHP library (Composer) |
| OpenCart, Drupal Commerce | not provided | same, on demand |
| Custom website | possible today | the API, the guides above, and the PHP library (quoshop-php-sdk) or the reference’s Node.js / Python examples |
WooCommerce and PrestaShop came first: they are the two most widespread self-hosted e-commerce CMSs among French-speaking merchants, both in PHP — which lets them share one tested client library.