VibeFox Quantity Manager — Help
Requirements
WordPress: 6.2 or later.
WooCommerce: 7.0 or later, installed and active.
PHP: 8.0 or later.
Stock file: a CSV, TXT, XML or JSON file with a SKU and a quantity per item, uploaded (up to 20 MB) or downloaded from an http(s) URL. Your products and variations must have SKUs.
WooCommerce stock management: turn it on in WooCommerce > Settings > Products > Inventory. Otherwise WooCommerce stores the quantities but shows only the stock status and does not reduce stock on orders; the plugin shows a notice about it.
VibeFox license key: bought on vibefox.net. One key works on one domain.
Installation
1. In WordPress go to Plugins > Add New > Upload Plugin, choose the plugin ZIP file and click Install Now. You can also upload the vfw_quantity_manager folder to /wp-content/plugins/ by FTP.
2. Click Activate. WordPress opens VF Quantity Manager > Settings > License. Paste your VibeFox license key into License key and click Activate. Until the key is active the plugin stays switched off and its menu shows only Settings (see License key).
3. The menu VF Quantity Manager appears in the admin with Import, History and Settings. Imports, exports and reports need the capability manage_woocommerce (shop managers and administrators); the settings need manage_options (administrators).
4. Open VF Quantity Manager > Settings to set the column or element names of your files, the source URL, the schedule and the rules.
5. Open VF Quantity Manager > Import, choose a file, look at the preview, then click Apply these changes.
File formats
CSV / TXT / TSV: the delimiter (comma, semicolon, Tab or pipe) is detected automatically; quoted cells are supported, extra columns are ignored, and the file may have a header row or not. Without a header the SKU is read from column 1 and the quantity from column 2. Example: sku;qty and ABC-123;10.
XML: the repeating element is found at any depth; values can be child elements or attributes; namespaces are supported. Example: <products><item><sku>ABC-123</sku><qty>10</qty></item></products> or <item sku="ABC-123" qty="10"/>.
JSON: an array of objects, a list inside an object (for example data.items), or a map {"SKU": quantity}. Example: [ { "sku": "ABC-123", "qty": 10 } ].
Encodings: UTF-8 with or without BOM, UTF-16 (Excel "Unicode text") and Windows-1251 are detected automatically; Windows-1252, ISO-8859-1 and KOI8-R can be chosen.
Values: products and variations are matched by SKU, case-insensitive like WooCommerce. The quantity replaces the current stock. Negative quantities are imported as they are (backorders); a fractional quantity is cut to a whole number, as WooCommerce does. An empty or non-numeric quantity skips the row. A SKU listed twice uses the last row. The optional price column accepts 12.50 or 12,50.
Configuration
Settings are on VF Quantity Manager > Settings. The page has tabs on the left. Click Save Changes to save.
Import rules
Enable stock management: default on. Turns on "Manage stock" for products and variations found in the file, so the quantity is stored. When off, items without stock management only get their stock status (in stock / out of stock) from the quantity, and variations whose stock is managed by the parent product are skipped.
Disable missing products: default off. Products whose SKU is not in the file are set to Draft, and missing variations are disabled. They are enabled again automatically when they come back in a later file. Skipped when nothing in the file matched (wrong file).
Which products may be disabled:
Run a preview first: it shows what would be disabled.
CSV format
SKU column: the header of the SKU column. Also recognised automatically: SKU, Артикул, Article, Product code.
Quantity column: the header of the quantity column. Also recognised automatically: Quantity, Stock, Stock qty, Inventory, Количество, Остаток.
Price column: optional. The header of a column with the regular price (for example price). Empty: prices are not changed.
Delimiter: Detect automatically (default), Comma ,, Semicolon ;, Tab or Pipe |.
Encoding: used for CSV, XML and JSON files. Detect automatically (UTF-8, UTF-16, Windows-1251) (default), UTF-8, Windows-1251, Windows-1252, ISO-8859-1 or KOI8-R.
XML format
Item element: the name of the repeating element, found at any depth (for example item, offer, product). Default: item.
SKU element: a child element or attribute of the item. Default: sku.
Quantity element: a child element or attribute with the quantity. Default: qty.
Price element: optional. An element or attribute with the regular price. Empty: prices are not changed.
JSON format
Path to the list: optional. Where the array of items is, for example data.items. Empty: a top-level array, or the first array of objects found.
SKU key: the key of the SKU in each object (dot path allowed: product.sku). Default: sku.
Quantity key: the key of the quantity (dot path allowed: stock.qty). Default: qty. An object {"SKU-1": 5} is also accepted.
Price key: optional. The key of the regular price. Empty: prices are not changed.
Notifications
Low stock threshold: e-mails a list of items whose quantity fell below this number in an import. Empty or 0: no e-mail.
Email address: empty: the site admin e-mail.
Import screen texts
File import card title, Upload label, Import button, Success message, No file error, Invalid format error and Log title: the texts of the Import screen, per language. Empty fields use the built-in texts.
Cron
Source file URL: the CSV, XML or JSON feed downloaded by the scheduled import, the external cron link and Import from a URL. Only http(s) addresses on the public internet (or this site).
Scheduled import (WP-Cron): imports the source URL automatically. Default: off. Large files continue in the background in batches.
Frequency: Hourly, Twice a day or Daily (default).
External cron key: the secret of the external cron link, at least 16 random characters. Click Generate a key, then Save Changes. Empty: the link is disabled.
Status: shows whether a source URL is set, the next scheduled run, the last run and the external cron link (/wp-admin/admin-ajax.php?action=vfw_qu_cron&secret=…). Call the link with GET from your server or a cron service. It answers with JSON; a large file continues in the background, and the next call continues it too.
Logging
Enable logging: records import results in the protected debug log. Default: off. The Debug log viewer shows the entries.
Uninstall & Clear
Imports kept in the history: 5–5000. Default: 100. Older reports are deleted automatically. Only the latest applied import can be undone.
Delete data on uninstall: see Uninstall. Default: off.
Clear plugin data: Delete import history deletes import reports, including the saved preview and undo data. Delete debug log deletes the entries of the debug log. Each asks for confirmation.
License
The VibeFox license block (see License key).
Status
Your PHP, WordPress and WooCommerce versions compared with the minimum versions, and the active multilingual plugin.
Import / Export
Download Export File saves the settings as a JSON file. On another site choose the file and click Import. Passwords and keys are not included.
How it works
Import a file
On VF Quantity Manager > Import choose a file in Upload File (CSV, TXT, XML or JSON, up to 20 MB) and click Import. Preview first (dry run — nothing is changed, you apply it after checking) is on by default. Uploaded files are read from PHP's temporary upload and never stored in a public folder.
Import from a URL: enter a Feed URL and click Download and import, with or without Preview first (dry run).
Files are processed in batches with a progress bar and a Stop button. You can leave the page: the import continues in the background through WP-Cron.
Preview
The preview report shows "Preview — nothing has been changed yet", the current and new quantity of every product (Will update), SKUs that are not in the shop (SKU not found), rows that would be skipped and products that would be disabled (Will be disabled). Click Apply these changes to run the import.
What changes
Stock is written through the WooCommerce stock API, so WooCommerce hooks, lookup tables and caches are updated. WooCommerce recalculates the stock status (backorders, out of stock threshold), and variable products are synchronised. With a price column the regular price is updated too.
Report
Each import has a report: Summary (rows in the file, updated, not found, skipped, disabled, enabled again, prices changed, duration) and a list of products with Before, After, Result and Notes. Filters: All, Changed, SKU not found, Skipped / errors, Disabled. Report (CSV) downloads it.
Undo
Undo this import (on the Import screen or in the report of the latest applied import) restores quantities, stock statuses, "Manage stock", prices and disabled products. Sales and returns made after the import are kept: the result is the previous stock plus the change since the import. Older imports can not be undone, because later imports changed the same products.
History
VF Quantity Manager > History lists all imports with date, source (Manual, Manual (URL), Schedule, External cron, Undo), who started it, rows, updated, not found, skipped, disabled and status (Applied, Preview, Undone, Failed), with search and a date filter. A chart shows the items updated in the last 20 applied imports. Failed scheduled imports are shown here too.
Export stock
Export stock (CSV) on the Import screen downloads SKU, Qty, Name, Stock status, Manage stock, Price, Type, ID and Status of all products and variations. You can edit this file in Excel and import it back. Exported files are protected against spreadsheet formula injection.
Low stock e-mail
After an import, the e-mail lists the items whose quantity fell below Low stock threshold, as "SKU — name: quantity". It is sent in the site's default language.
Multilingual sites
The import screen texts can be changed per language (qTranslate-XT, WPML or Polylang). Product names in qTranslate-XT format are shown in the current language. With Polylang or WPML (without Polylang for WooCommerce or WCML), each imported row is also applied to the translations of the product: stock, "Manage stock", price and re-enabling; disabling and undo include them too. Translations are not counted in the totals and are marked in the report.
The quantity in the file always replaces the stock. Adding to or subtracting from the current stock is not supported.
License key
VibeFox license key: bought on vibefox.net. One key works on one domain.
The plugin works only with an activated key. Without it the plugin is switched off: its features, shortcodes, blocks, admin pages, scheduled tasks and e-mails do not run, and its menu shows only Settings with the License tab. Your settings and data are kept and come back as soon as a key is activated. Right after you activate the plugin in Plugins, WordPress opens this tab.
Open VF Quantity Manager > Settings > License, paste the key into License key and click Activate. The plugin switches on at once (the page reloads). The block License — VibeFox Quantity Manager then shows the masked key, the status Active until with the date and the domain, the buttons Check now, Change key, Remove key and the link Manage licenses and domains in your account.
Messages under the field: The key looks incomplete — copy the whole key from your account. (nothing is sent), Key not found. Check that you copied the whole key from your account., This key belongs to another product. (use the key bought for VibeFox Quantity Manager) and Domain limit reached (free a slot for this domain in your account, then click Check now). After the site address changes, click Check now.
An expired license keeps the plugin working, but without updates and support. Remove key switches the plugin off on this site; the domain slot is freed only in your vibefox.net account. If the license server cannot be reached, the plugin keeps working on the last known status. When the plugin is deleted, the key and its status are always removed.
Troubleshooting
The plugin menu shows only Settings: the license key is not active. Open VF Quantity Manager > Settings > License and click Activate (or Check now if a key is already entered); the messages under the field are explained in License key.
Quantities are saved, but the shop shows only "In stock" / "Out of stock": turn on stock management in WooCommerce > Settings > Products > Inventory.
Many SKUs are "SKU not found": check that the products have the same SKUs as the file, and the SKU column / SKU element / SKU key setting.
Rows are skipped: the quantity is empty or not a number, or the variation's stock is managed by the parent product and Enable stock management is off. The report shows the reason in Notes.
The file can not be read: check the format settings and Encoding. XML with entity declarations is refused for security.
A URL import fails: only http(s) addresses on the public internet (or this site) are accepted; private and loopback addresses and redirects to them are refused. There are time and size limits.
The external cron link does nothing: set the Source file URL and the External cron key, and save. Repeated wrong keys from one address are blocked for a while.
An import seems stuck: the Import screen shows a notice when a job has not made progress for a while; it continues when the page is open, or click Stop.
Developers: action vfw_qu_import_finished (after an import, preview or undo); filters vfw_qu_disable_missing_ids, vfw_qu_max_file_size, vfw_qu_fetch_timeout, vfw_qu_ajax_budget, vfw_qu_background_budget, vfw_qu_capability and vfw_qu_sync_translations.
Uninstall
Deactivating the plugin removes only the scheduled events; all data stays. To remove it, deactivate and delete it on the Plugins page. Settings, import history and helper product fields are removed only if Delete data on uninstall was on. Stock quantities are never touched. The key and its status are always removed with the plugin; the domain slot is freed only in your vibefox.net account.
