Shopify Catalog Preflight & Cleaner Kit (Offline Python CLI + 6-Gate HTML Auditor)
Stop importing broken wholesaler spreadsheets into Shopify or Matrixify.
One decimal-shifted wholesale price ($240.00 to $24.00), one TBD cell importing as $0.00, or one duplicate Handle+Option pair silently overwriting live variants causes immediate margin loss and hours of rollback work.
This kit is a 100% local, offline Python CLI toolkit. Your supplier Excel (.xlsx) and .csv price sheets stay on your machine and are never uploaded to cloud servers or external AI APIs.
What Is Inside shopify-catalog-preflight-kit.zip
1. clean_catalog.py (Deterministic Supplier-to-Shopify CSV Cleaner): Automatically unmerges Excel cells, skips supplier title banners and header offsets, unpivots 2D Size x Color or Thread x Material matrices into flat Shopify variant rows, normalizes US/EU currencies ($1,299.50 USD, EUR 14,50), and supports --baseline comparison against your live Shopify export plus --limit 10 preview mode.
2. audit_report.py (Standalone 6-Gate HTML Traffic-Light Audit Report): Outputs a zero-dependency RED / AMBER / GREEN HTML report across 6 strict pre-import checks:
- Gate 1: >30% Price-Drop Guard against your baseline Shopify export or inline Compare-At / Previous Price
- Gate 2: Negative, $0.00, and Blank Price Blocker
- Gate 3: Duplicate SKU and Duplicate Handle+Option Variant Overwrite Detector
- Gate 4: Shopify 3-Option Axis and 100-Variant Limit Guard (promotes varying axes and preserves overflow attributes in Tags)
- Gate 5: Image URL Validator (catches local disk paths, whitespace, localhost, and non-direct Google Drive or Dropbox links)
- Gate 6: Source Intake Gate (auto-flags unreadable or image-only scanned PDFs)
3. Matrixify-Error-Fix-Playbook.md: Deterministic root-cause and fix reference for the 10 most common Shopify and Matrixify import failures.
4. samples/sample-dirty-catalog.csv + README.md + requirements.txt: Sanitized sample dataset to verify end-to-end execution and generate your first HTML audit report in under 60 seconds.
Technical Requirements & Licensing
- Python 3.9+ and openpyxl (pip install -r requirements.txt). Runs 100% offline on Windows, macOS, and Linux.
- Outputs standard 29-column Shopify CSV schema compatible with native Shopify Admin import and Matrixify.
- One-time $79 USD purchase with no recurring SaaS fees. Covers unlimited internal and client-store catalog cleanups by your team (reselling or redistributing the source code is not permitted).
- Refund policy: Instant-download unencrypted Python source ZIP. If you hit a reproducible bug on Python 3.9+ that cannot be patched within 72 hours, send your Payhip receipt and error trace within 14 days for a full refund.