2025 — present

B2B store for a haberdashery wholesaler

Moving a wholesaler from PrestaShop to WooCommerce and wiring the store to the RAKS warehouse system. Twenty-two thousand products, business customers only, cut over without losing orders.

22 000
products in the catalogue
6 200
B2B customer accounts
5,9 → 1,2 s
store admin load time
21 000
redirects from old URLs

Starting point

A haberdashery wholesaler selling to businesses only — threads, yarns, tapes, buttons. The store ran on PrestaShop, was dated and slow, while the truth about stock and prices lived in RAKS SQL, a warehouse system on a server at the client's premises. The store had to move to WooCommerce, keep the two-way exchange with the warehouse, and not stop a company taking a dozen-odd orders a day.

What I did

Research and choosing vendors. I worked out how to run the migration, then found and directed the firms for the parts I did not want to carry alone: moving the database off PrestaShop and integrating with RAKS. I also found the plugin that gives the store a wholesale mode, and new hosting that could carry a catalogue of this size. The import of the catalogue and customer accounts from the old store started in October 2025.

The store's logic. Net prices hidden from anonymous visitors, registration with a tax ID and manual account approval, tiered discounts, minimum quantities and sale multiples, custom order statuses, shipping zones. Some of it could not be configured by clicking — I wrote my own PHP snippets for those.

Warehouse integration. The connector is closed third-party software: part PHP on the store side, part a compiled service on the client's server. Although the environment was unfamiliar to me, I went into that code and fixed the faults that were blocking sales, recording every change so it could be reapplied after an update. That closed, among others, orders never reaching the warehouse, a tax ID carrying a "PL" prefix registering an existing customer as a new one, wholesale discounts missing from invoices, and penny-level differences between the store and the sales document.

The cutover. The old store kept running and taking orders until the last day. I rolled back the first go-live on 15 June 2026 the same day, because the connector stopped passing data to the warehouse — traffic returned to the old store and customers noticed no interruption. Two days later the cause was found: two versions of a database driver in one directory. On 18 June the store went live for good.

Performance. The store was slow both in the admin and for customers. Measurement split that into two independent problems and disproved eight common suspicions, including the ones about an oversized database and too many plugins. The admin went from 5.9 to 1.2 seconds once update checks moved to a background job, and the heaviest catalogue query from 422 to 23 milliseconds once the missing indexes were added.

Cleaning up after the migration. Things arrived from the old store and surfaced only months later: dormant promotions that woke up whenever a product was saved — over 1,500 real markdowns hidden among 34,000 empty records; close to 2,000 colour variants frozen as out of stock; 118 customer accounts created after the database copy was taken. I redirected over 21,000 old product and category URLs to their new addresses.

How I worked

This is the least code-heavy of my projects and the one that reached furthest beyond code. Much of the work was research, selecting and directing vendors, working inside someone else's closed environment, and owning the cutover of a running business. I also supervised the visual layer, which was built by colleagues at my company. The migration and integration vendor delivered unevenly, so I did a large share of the data transfer and verification myself.

Screenshots

Click to enlarge