StockX Price Sync
Sync out-of-stock variation prices from StockX via Selenium scraping.
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/serhiirohachov/stockx-sync/archive/refs/heads/master.zipStockX Sync for WooCommerce
This WordPress plugin syncs out-of-stock WooCommerce variation prices with StockX using Selenium WebDriver scraping.
Features
- Sync price for specific SKU or all products
- CLI and Admin interface
- Daily or custom cron interval
- PSR-4 autoloading via Composer
Setup
- Install dependencies:
composer install
- Set up Selenium + ChromeDriver at
localhost:9515or update the path in plugin settings.
Commands
wp stockx-sync get-price <style> <size>
wp stockx-sync sync-all --rate=42
wp stockx-sync sync-by-sku <sku> --rate=42
wp stockx-slug <sku>
Folder Structure
includes/classes/: Main plugin classesincludes/cli/: WP-CLI command handlerscomposer.json: PSR-4 + dependency definitions
License
MIT