WP Manifestindependent plugin directory
manifest / ecommerce / woo-price-stock-importer

WooCommerce Price & Stock Importer

updating prices and product balances

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/avorite/woo-price-stock-importer/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

WordPress plugin for importing prices and stock quantities from XML/CSV/XLSX files by SKU for WooCommerce (supports variations, dry-run, logging, field mapping, and presets).

Description

This plugin imports prices and stock quantities from source files (XML/CSV/XLSX) by SKU, including support for product variations. It features:

  • Batch import with progress tracking
  • Dry-run mode for testing
  • Scheduled daily imports via Action Scheduler
  • Detailed logging
  • WP-CLI support
  • Multi-language support (Russian, Ukrainian)
  • Source profiles:
  • AlfaParfum Auto (preset mapping/options, user file input)
  • Rozetka XML (default XML mapping)
  • Custom file (manual mapping)
  • Field mapping and selective updates (price, regular price, stock, name, description)
  • Missing SKU policies:
  • Create missing products
  • Mark products out of stock when SKU is absent in source

Installation

  1. Place the woo-price-stock-importer folder in wp-content/plugins.
  2. Activate the plugin in WordPress admin.
  3. Go to WooCommerce -> Price Importer and specify the path to the source file (or upload the file).

Example paths:

  • Windows: C:\path\to\price.xml or C:\path\to\price.csv
  • Linux/Mac: /var/www/price.xml or /var/www/price.csv
  • URL: https://example.com/price.xml or https://example.com/price.csv

Log file: wp-content/uploads/woocommerce-price-import.log

WP-CLI Usage

wp wpi import --file="path/to/price.csv" --dry

Price/Stock Rules

  • If two price fields are present and different, importer sets sale + regular prices.
  • If prices are equal, or one of price fields is empty, importer sets single regular price (no sale).
  • If stock field is empty, product is set to out of stock.

Notes

  • Manual run clears previous log file before starting.
  • Import statistics table is updated live after import completion (no page reload required).
  • Uploaded files are stored by WordPress in wp-content/uploads/... and reused by scheduled runs.

Requirements

  • WordPress 5.0+
  • WooCommerce 3.0+
  • PHP 7.4+

License

GPL-3.0

Repository

GitHub: https://github.com/avorite/woo-price-stock-importer

Author

Maxim Shiyan - https://github.com/avorite