WP Manifestindependent plugin directory
manifest / ecommerce / woo-product-importer

Product Importer — URL to WooCommerce

Paste a Shopify collection link or a WooCommerce category link and import all its products (images, title, price, description, gallery, SKU) into your WooCommerce store with one click.

by Md Alamin · github.com/developeralaminvi/woo-product-importer · website

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/developeralaminvi/woo-product-importer/archive/refs/heads/main.zip

Readme

Product Importer — URL to WooCommerce 🚀

A powerful, standalone WordPress plugin designed to scrape, extract, and import e-commerce products directly into your WooCommerce store from Shopify collections or WooCommerce categories with one click.


🌟 Key Features

🛍️ Shopify Store Support

  • Collections: Paste any Shopify collection link (https://store.com/collections/collection-name) to automatically fetch all products using Shopify's public JSON feeds.
  • Single Products: Paste individual Shopify product links (https://store.com/products/product-name).
  • Comprehensive Data Extraction: Captures titles, descriptions (HTML), prices, compare-at (regular) prices, SKUs, barcodes, vendors, tags, and complete high-resolution image galleries.

🛒 WooCommerce & Generic HTML Store Support

  • WooCommerce Store API: Automatically utilizes the public WooCommerce Store API (/wp-json/wc/store/v1/) for ultra-fast, structured category and product fetching.
  • Intelligent DOM Scraper: Fallback engine that uses DOMXPath and semantic scoring to extract product cards from main catalog grids while excluding widgets, related product loops, and sidebars.
  • Deep Inspection Mode: Option to crawl individual product single pages to fetch long descriptions, SKU details, and multi-image galleries.

🏬 Full-Site Migration Mode

  • Paste a store homepage URL (https://store.com).
  • Automatic Category Discovery: Detects all public categories and collections.
  • Category Thumbnail Import: Sideloads category banner/featured images and assigns them as WooCommerce category thumbnails (thumbnail_id).
  • Multi-Category Linking: Products belonging to multiple categories are imported once and linked across categories rather than duplicated.
  • Empty Category Filtering: Easily hide marketing tags or empty collections.

⚡ Resilient Batch Architecture

  • Chunked AJAX Pipeline: Processes imports in micro-batches (3–4 products per request) to prevent PHP max execution time (max_execution_time) issues, gateway timeouts (504), and memory exhaustion.
  • Live Progress & Control: Visual progress bar with dynamic status feedback (Importing, Imported, Skipped, Linked, Failed) and a cancel/stop button.

🚫 Duplicate Protection

  • Smart deduplication by SKU and Product Title to prevent duplicate catalog entries.

🔒 Security Hardened

This plugin has undergone thorough security audits and adheres to WordPress Coding Standards:

  1. CSRF & Action Protection: All AJAX endpoints require valid WordPress security nonces (check_ajax_referer).
  2. Strict Capability Checks: Restricted strictly to authorized administrative users (current_user_can('manage_options')).
  3. SSRF Mitigation: HTTP requests are validated and routed through safe WordPress transport helpers (wp_safe_remote_get / wp_http_validate_url) to protect against Server-Side Request Forgery and internal network probing.
  4. Input & HTML Sanitization:
    • Clean product titles and SKUs via sanitize_text_field and wp_strip_all_tags.
    • Rich product descriptions sanitized with wp_kses_post to neutralize malicious `

Read the full README on GitHub →