A powerful WordPress plugin that seamlessly integrates WooCommerce with the Dorna platform, enabling automated product synchronization and invoice management.
- Automatic product sync: price, discount and stock are pulled from Dorna every minute. A failed request never loses changes: the sync resumes from the last successful run.
- Connect with one button: sign in to Dorna, pick the business, confirm; the token is issued for this site only (a copy of the site cannot use it) and the connection shows on your Dorna dashboard with alerts.
- Scheduled full sync: run the full sync every night or week at the hour you pick.
- First-run checklist: connect, first full sync, import, nightly schedule.
- Full sync with progress: one slow, paced pass over all Dorna products (one request every few seconds, pausable and resumable) to make sure the store matches Dorna.
- Publish products to the store from Dorna: one button creates a draft product in WooCommerce — a simple product, or a variable product with one variation per colour/size — with SKUs, prices, stock and the category, then opens the edit page so the seller adds photos and publishes. Images stay in WooCommerce only.
- Site-only name, description and price: the seller can keep the online title/description separate from Dorna and set a different site price (for example a markup for instalment fees); the minute sync keeps writing that site price, never the raw Dorna one.
- Manage site orders in Dorna: a three-step inbox (new → ready to ship → shipped) with carrier + tracking code, an optional SMS to the customer, and the same status/tracking shown on the site (order page, emails and the Shipment Tracking plugin's meta). Cash-on-delivery orders stay unpaid.
- Invoices: orders are sent to Dorna when they become processing or completed; failures are retried with growing pauses and shown with their reason.
- Bulk import: bring Dorna products that the store lacks in as drafts.
- Per-product update: an "update from Dorna" button on the product screen.
- Designed admin: a Persian, RTL admin area in the look of the Dorna panel — overview, full sync, import, orders, logs and settings.
- Safe by default: capability + nonce on every action, token masked and removable from the database (
WP_DORNA_API_KEYin wp-config.php), logs without secrets. - Auto-updates: built-in update checker for GitHub releases.
- WordPress 5.3 or higher
- WooCommerce (required; not version-tested below a current release)
- PHP 7.4 or higher
- Active Dorna platform account with API access
- SSL certificate (recommended for secure API communication)
- Download the latest release from the releases page
- Extract the ZIP file
- Upload the
wp-dornafolder to your/wp-content/plugins/directory - Activate the plugin through the 'Plugins' menu in WordPress
- Configure the plugin settings with your Dorna API credentials
- Go to your WordPress admin panel
- Navigate to Plugins > Add New
- Upload the plugin ZIP file
- Click Install Now and then Activate
- After activation, open the درنا menu in your WordPress admin and go to تنظیمات
- Press اتصال به درنا, sign in, choose the business and confirm (or paste a token / define
WP_DORNA_API_KEYinwp-config.phpunder the advanced section) - Follow the راهاندازی checklist: first full sync, optional import, nightly sync
Once configured, the plugin automatically:
- Syncs price, discount and stock from Dorna to WooCommerce every minute
- Sends orders to Dorna as invoices and retries the ones that failed
Every push to main publishes a release on GitHub for the version in wp-dorna.php, with the ready-to-install zip and the list of changes. Raise the version (the Version: header and WP_DORNA_VERSION) before merging to main; the same zip can be built locally with bin/build-release.sh <version>.
We welcome contributions! Please feel free to submit issues and pull requests.
This plugin is licensed under the GPL2 License. See the LICENSE file for details.
Ali Fallah
- Website: https://dornaapp.ir
- GitHub: @alifallahrn
- Documentation: This README and inline code comments
- Issues: GitHub Issues
- Dorna Platform: https://dornaapp.ir
Made with ❤️ for the WordPress and WooCommerce community