Install
Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/sinayavary/woo-studio-manager/releases/download/v5.1.0/woo-studio-manager-5.1.0.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
WooCommerce Studio Manager
Version: 5.1.0 · Requires: WordPress + WooCommerce · License: MIT
A WordPress admin plugin for bulk editing WooCommerce product prices and stock, with optional announcements to Bale Messenger and price sync to a secondary site (Faramoj).
فارسی: README.fa.md
Features
Product management dashboard
- RTL admin UI (“مدیریت استودیو”) with KPI cards: total products, out of stock, staged changes, large price changes (>10%)
- DataTables grid for simple products and variations (SKU, category, prices, stock)
- Inline editing of regular price, sale price, stock quantity, and stock status
- Draft recovery (browser localStorage), undo last change, revert all / per row
- Bulk actions: set price, increase/decrease by percent, set stock status on selected rows
- Filters by category and type, column visibility, comfortable/compact density, mobile card layout
Dual save modes
| Action | Behavior |
|---|---|
| Save + send to Bale | Saves changes, then posts a Markdown price-update message to your Bale channel (only for items whose regular price changed) |
| Save silently | Saves to WooCommerce only — no Bale message |
Integrations
- Bale: Markdown posts with product title, new price, and product link
- Faramoj (site 2): When regular price changes on products in the target category (
آنتن GHz), prices are POSTed to a remote sync endpoint
Exports
- Excel (XLSX), HTML report, and PDF
- Themes (light/dark) and audience modes (personal / customer-facing)
- Export all, filtered, selected, or modified rows
Safety & UX
- Pre-save preview of staged changes
- Confirmation when large price swings (>10%) are detected
- Connection badges for Bale and Faramoj configuration status
- AJAX with nonce +
manage_woocommercecapability checks - Short-lived product list cache (5 minutes) for faster reloads
Requirements
- WordPress 5.8+ (recommended)
- PHP 7.4+
- WooCommerce (active)
- HTTPS recommended for remote sync and Bale API calls
Installation
From a release ZIP
- Download
woo-studio-manager-5.1.0.zipfrom Releases. - In WordPress: Plugins → Add New → Upload Plugin.
- Activate WooCommerce Studio Manager (Pro Post Edition).
- Open مدیریت استودیو in the admin menu.
From source
git clone https://github.com/sinayavary/woo-studio-manager.git
# Copy the folder into wp-content/plugins/woo-studio-manager
Configuration
Credentials are not stored in the database. Define them in wp-config.php (above the “That’s all, stop editing!” line):
/* WooCommerce Studio Manager */
define( 'WSM_BALE_BOT_TOKEN', 'YOUR_BALE_BOT_TOKEN' );
define( 'WSM_BALE_CHAT_ID', 'YOUR_CHAT_OR_CHANNEL_ID' );
define( 'WSM_SITE2_SECRET', 'YOUR_SHARED_SECRET' );
// Optional — defaults to the Faramoj receiver URL in code:
// define( 'WSM_SITE2_SYNC_URL', 'https://example.com/wp-json/wsm-receiver/v1/sync/' );
| Constant | Purpose |
|---|---|
WSM_BALE_BOT_TOKEN |
Bale bot token for tapi.bale.ai |
WSM_BALE_CHAT_ID |
Destination chat/channel ID |
WSM_SITE2_SECRET |
Shared secret sent as JSON secret and header X-WSM-Secret |
WSM_SITE2_SYNC_URL |
Optional override for the remote sync URL |
The dashboard header shows whether Bale and Faramoj are configured.
Faramoj sync rule
Remote sync runs only when:
- Regular price actually changed, and
- The product (or variation parent) is in category
آنتن GHz.
Payload shape:
{
"secret": "...",
"items": [
{ "title": "Product name", "new_price": "1500000", "old_price": "1400000" }
]
}
How to use
- Open مدیریت استودیو.
- Edit prices/stock in the table (or use bulk tools).
- Review staged count and the preview before saving.
- Choose Save + Bale or Save silently.
- Optionally export filtered/selected products as Excel, HTML, or PDF.
Project structure
woo-studio-manager/
├── woo-studio-manager.php # Plugin bootstrap & AJAX (fetch + batch sync)
├── views/dashboard.php # Admin UI (RTL)
├── assets/css/ # Admin styles + DataTables
├── assets/js/ # admin-app.js + DataTables
├── README.md # English docs
├── README.fa.md # Persian docs
└── LICENSE
Security notes
- Do not commit real tokens or secrets to Git.
- Only users with
manage_woocommercecan use the plugin. - All AJAX actions verify a WordPress nonce.
- Treat
WSM_SITE2_SECRETlike a password; rotate it if exposed.
Changelog
5.1.0
- Dual save (with / without Bale)
- Markdown Bale posts for price changes
- Faramoj remote sync for target category
- Bulk edit, draft restore, undo, changelog
- Excel / HTML / PDF export
- Connection status badges and large-change warnings
Support
Open an issue on GitHub for bugs or feature requests.
License
Releases
1 release. Each count is every asset in that release; expand a row for the breakdown.
Tag
Published
Assets
Downloads