Product Importer
A streamlined WordPress plugin to bulk import WooCommerce products from Excel (.xlsx) files, featuring automatic image sideloading, category creation, and stock management.
by XYZ · github.com/srivastava-abhigyan/woocommerce-excel-product-importer · website
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/srivastava-abhigyan/woocommerce-excel-product-importer/archive/refs/heads/main.zipWooCommerce Excel Product Importer is a powerful and lightweight WordPress plugin designed to streamline the process of adding products to your WooCommerce store. Instead of manually entering each product, you can simply upload an Excel (.xlsx) file and let the plugin handle the rest—including images, categories, and stock management.
🚀 Features
- Bulk Import: Import hundreds of products in seconds using a simple Excel sheet.
- Smart Mapping: Automatically maps columns for SKU, Name, Description, Price, Stock, Categories, and Images.
- Image Sideloading: Provide image URLs in your Excel sheet, and the plugin will automatically download and set them as the product image and gallery.
- Category Management: Automatically creates categories if they don't exist.
- Stock Management: Sets stock quantities and statuses automatically.
- Update Existing Products: Matches products by SKU to update existing ones.
- Error Logging: Detailed logs for troubleshooting failed imports.
📋 Requirements
- WordPress: 5.0 or higher
- WooCommerce: 3.0 or higher
- PHP: 7.4 or higher
- Composer: Required to install the
PhpSpreadsheetlibrary.
🛠️ Installation
- Clone or Download: Upload the
product-importerfolder to your/wp-content/plugins/directory. - Install Dependencies: The plugin requires the
PhpSpreadsheetlibrary. Navigate to the plugin directory in your terminal and run:composer installNote: If you don't have Composer, you can run
composer require phpoffice/phpspreadsheet. - Activate: Go to your WordPress Admin -> Plugins and activate Product Importer.
📖 How to Use
-
Prepare Your Excel Sheet: Create an
.xlsxfile with the following column headers (all lowercase):sku: Unique product identifier (Required)name: Product title (Required)description: Full product descriptionprice: Product price (numbers only)stock: Quantity availablecategories: Comma-separated category names (e.g.,Electronics, Headphones)image_urls: Comma-separated direct links to images
-
Upload:
- Navigate to Product Importer in your WordPress sidebar.
- Choose your prepared
.xlsxfile. - Click Import Products.
-
Check Results: The plugin will provide a summary of how many products were imported and any errors encountered during the process.
📁 Project Structure
product-importer/
├── admin/ # Admin-specific CSS, JS, and UI partials
├── includes/ # Core logic and helper classes
├── languages/ # Translation files
├── public/ # Public facing assets (if applicable)
├── vendor/ # Composer dependencies (installed via composer)
├── product-importer.php # Main plugin file
└── uninstall.php # Cleanup on plugin deletion
🤝 Contributing
Contributions are welcome! If you have a feature request or found a bug, please open an issue or submit a pull request.
📜 License
This project is licensed under the GPL-2.0+ License. See the LICENSE file for details.
Made with ❤️ for the WooCommerce Community.