WP Manifestindependent plugin directory
manifest / ecommerce / stockx-sync

StockX Price Sync

★ 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/serhiirohachov/stockx-sync/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

StockX 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

  1. Install dependencies:
composer install
  1. Set up Selenium + ChromeDriver at localhost:9515 or 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 classes
  • includes/cli/: WP-CLI command handlers
  • composer.json: PSR-4 + dependency definitions

License

MIT