CWMerch: keep your WooCommerce data, drop the WordPress pain for something lighter, faster and better
Tired of WordPress? Of the way it manages its dependencies? Of vulnerabilities like PHP2Shell?
We built CWMerch for customers running WooCommerce shops who were tired of fighting their stack instead of selling: recurring database outages, servers drowning under WordPress and its plugins, and one security alert after another. CWMerch is a lighter remake of WooCommerce, written in Go and React, that works directly on your existing shop database: you keep your customers, orders, invoices and products, and you can switch WordPress off when you're ready.
What our customers were going throughβ
"MySQL server has gone away", againβ
The most frequent complaint: the shop going down with the infamous MySQL server has gone away, at random hours and usually under load, when an order or a payment notification was being processed. Tuning timeouts and packet sizes buys some time; it rarely makes the problem go away for good.
That's why CWMerch doesn't only run on MySQL or MariaDB: it also runs on PostgreSQL, with the same WooCommerce schema. Its Clone data feature moves a shop from MySQL/MariaDB to PostgreSQL (or back) in a few clicks, so moving to PostgreSQL is a migration you can actually plan, not a rewrite.
WordPress is heavy, and so are its pluginsβ
A WooCommerce shop is rarely just WooCommerce: a page builder, a theme framework, SEO, caching, payment, invoicing and backup plugins... Each one adds PHP workers, memory and disk to the bill, and the servers end up sized for WordPress rather than for the traffic. Themes are no exception: Divi, one of the most popular ones, is a monster of its own and can require more than 2 GB of memory just to upload it.
And every update is a gamble: plugins regularly ship breaking changes, and some of them, abandoned or bought by the wrong people, end up compromised and become the way in for attackers.
PHP2Shell, and friendsβ
The other recurring nightmare is the security of the PHP ecosystem. The latest one is PHP2Shell (CVE-2026-109618 and CVE-2026-109619): two critical flaws in PHP itself, fixed in October 2026, that let an attacker execute code on the server without being authenticated, exploited in the wild and listed by CISA among the known exploited vulnerabilities. Add to it the classics: an upload form or a vulnerable plugin that lets an attacker drop a PHP file and execute it, a webshell left in wp-content/uploads, then a full server compromise. When a shop processes payments and holds customer data, that's not a risk you want to live with.
The idea: keep your history, change the engineβ
Migrating to another e-commerce platform usually means exporting and importing customers, orders and invoices, with the data you lose along the way. CWMerch takes the opposite approach: it reads and writes the WooCommerce tables themselves. That means products and variations, orders (HPOS or legacy), customers and their WordPress password hashes, coupons, taxes, shipping zones, settings, and the invoices it generates in its own cwmerch_* tables.
So you can:
- run CWMerch next to your WooCommerce, on the same database, both seeing each other's changes in real time;
- move your shop to CWMerch progressively: storefront, back office, payments, invoices, SEO, appearance (your Divi / WooCommerce / WordPress look is detected and reused);
- re-import into the database the images still served by the former WordPress, so it isn't needed any more;
- then switch WordPress off, keeping only its database, enriched by CWMerch.
Your customers keep their accounts and passwords, and your order and invoice history stays where it has always been.
Agentic AI built in, as you'd expect in 2026β
Shop owners now expect to talk to their back office. CWMerch comes with an AI assistant built on the same agentic loop as the rest of our products, the one we described in our previous blogpost:
- you ask a question in plain language;
- the model decides which calls to make and runs them with a
cwmerch_apitool, which calls the shop's own API with your permissions (a shop manager reaches what a shop manager can reach in the back office, nothing more); - it reads the results, chains other calls if it needs to (search, then details, then statistics...), and answers once it has what it needs, within a bounded number of rounds;
- reads are free, but every write needs your explicit confirmation: the assistant describes the change, waits for your "yes", and only then calls the API with
confirmed: true(a write without it is refused by the tool).
For example, with the prompt "Show me the last 10 orders whose payment failed, with the customer, the total and the date", the assistant queries the orders API filtered on the failed status, formats the result and points out that there are 12 such orders in total:

From there, you can go on in the same conversation: ask it to put some of these orders back on hold, to send the customers a payment reminder, to compare with last month... and confirm each change before it's applied. The same assistant also explains your sales, suggests SEO improvements for a page or a product, and can move your data from MySQL to PostgreSQL.
It works with your own AI subscription (CWCloud, OpenAI, Anthropic, Mistral, Gemini, DeepSeek...), and CWMerch can even run API only, as an AI agent (plus API keys, MFA and accounting exports) next to a WooCommerce that stays your shop.
Light, portable, and much less exposedβ
On the technical side, we made a few deliberate choices:
- the API is a single Go binary and the shop and its back office are a React SPA served as static files: small container images, low memory footprint, and the same deployment on a small VPS, Docker Compose or Kubernetes;
- no PHP runtime and no plugin system: there is no interpreter to execute an uploaded file and no third-party plugin running with full access to the shop, which removes whole classes of vulnerabilities often met in the WordPress and PHP ecosystem (no software is invulnerable, but the attack surface is a lot smaller);
- uploaded images are stored in the database and served by the API, nothing executable lands on a filesystem;
- the schema is managed by Flyway, with the same migrations for MySQL/MariaDB and PostgreSQL;
- it's open source (MIT): you can host it yourself, or let us host it for you on CWCloud.
Want to try it?β
Installation, configuration, the side-by-side mode with WooCommerce, the PostgreSQL migration, the AI assistant and everything else are described in the CWMerch documentation.
And if your WooCommerce shop is going through the same pains, get in touch with us: we can help you move to CWMerch without losing a single order.

