WP to Firebase – Sync WooCommerce & WordPress to Firestore and Realtime Database
WP to Firebase keeps Cloud Firestore or a Firebase Realtime Database in step with your WordPress site. Use it to power a mobile app built with Flutter, FlutterFlow, or React Native, a dashboard, or any service that reads from Firebase, without writing your own export code. New in 2.1: Cloud Firestor
WP to Firebase keeps Cloud Firestore or a Firebase Realtime Database in step with your WordPress site. Use it to power a mobile app built with Flutter, FlutterFlow, or React Native, a dashboard, or any service that reads from Firebase, without writing your own export code.
New in 2.1: Cloud Firestore, free. Firebase recommends Cloud Firestore for new apps, and FlutterFlow works with Firestore. Each product, order, and user becomes a document in a products , orders , or users collection. Items that have not changed since the last sync are skipped, so scheduled syncs stay inside Firestore’s free daily write quota.
What it syncs
- WooCommerce products: name, prices, stock, images, categories, tags, attributes, and variations.
- WooCommerce orders: status, totals, line items, shipping lines, and billing and shipping details.
- WordPress users: email, display name, first and last name, roles, and registration date.
You choose which of these to sync. Products are on by default. Users and orders contain personal data, so they stay off until you turn them on.
How it works
- Full sync: click “Sync now”, or schedule an hourly, twice-daily, or daily sync. Items are sent in the background, 50 at a time, so your site stays fast.
- Live updates: when a product, order, or user is created, updated, or deleted, the change reaches Firebase a few seconds later.
- Secure authentication: the plugin signs in with a Google service account and short-lived access tokens. Your private key is never shown again after you save it.
- Safe by design: passwords, password reset keys, and other credentials are never sent. Nothing runs during normal page loads.
- Compatible with WooCommerce High-Performance Order Storage (HPOS).
Free, with no Pro needed: Cloud Firestore and the Realtime Database, products, orders and users, live updates, scheduled full syncs, skipping unchanged items, named databases and collection prefixes, and the wpwtf_record filter for developers.
Data structure
In Cloud Firestore, each item is a document in its own collection, with an optional collection prefix: