MIKHAIL NERI

Custom WooCommerce Plugin

WooCommerce POS Sync Bridge

Keep an online WooCommerce store and an in store POS in sync in real time.

Platform
WooCommerce
Stack
PHP, WooCommerce, REST API, MySQL, CodeIgniter

Context

A retail client sold both online and at a physical counter, on two different systems. Stock and prices drifted apart through the day, and someone reconciled them by hand every evening.

I built a bridge so the WooCommerce store and a custom browser based POS share one source of truth, live.

How it works

  • A private REST API connects WooCommerce and the POS
  • Product inventory and prices sync both ways in real time
  • Orders from either side update the shared stock
  • The POS runs on CodeIgniter while WooCommerce stays the public storefront

Results

  • Ended the daily manual reconciliation between online and the counter
  • Kept stock accurate across both channels during trading hours

Lessons

I would move the sync to a webhook plus a periodic reconciliation sweep, rather than syncing on every action. Webhooks keep it instant, and a sweep catches anything a dropped request missed.

Stack

  • PHP
  • WooCommerce
  • REST API
  • MySQL
  • CodeIgniter

Need a plugin like this?

Start a project

WordPress Admin Sales Dashboard Next plugin