WP Manifestindependent plugin directory
manifest / ecommerce / tap-tap-importer-xml

TapTap XML Importer

Custom plugin for importing and sync products on Wordpress(Woo) from XML

by Custom · github.com/poweroid89/tap-tap-importer-xml

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/poweroid89/tap-tap-importer-xml/archive/refs/heads/main.zip

TapTap XML Importer (Pro Version) 🚀

High-performance, modular XML importer for WooCommerce. Designed to handle large product catalogs with a focus on speed, reliability, and automation.

Key Features ✅

  • AJAX Batch Processing: No more server timeouts. Import thousands of products in small chunks.
  • Smart Synchronization: Updates existing products instead of deleting them. Only changes what's necessary.
  • Multi-Source Support: Isolation for different XML feeds. Sync Source A without affecting Source B.
  • Dynamic Attribute Handling: Automatically detects and creates product variations (e.g., Sizes) directly from the XML.
  • Automated Sync: Full WP-Cron integration with customizable intervals (15m, 30m, Hourly, etc.).
  • Smart Cleanup: Automatically removes products from your site if they are no longer present in the supplier's XML.
  • Category & Brand Mapping: Full support for hierarchical categories and manufacturer-based branding.

Technical Architecture 🏗️

The plugin follows a modern Object-Oriented approach for maximum maintainability:

  • TTI_Importer: Main orchestrator and entry point.
  • TTI_XML_Parser: Robust XML handling and remote downloading.
  • TTI_Product_Handler: Core logic for creating/updating products and variations.
  • TTI_Batch_Processor: Manages AJAX-based chunk processing.
  • TTI_Init_Manager: Pre-import preparation (schema, categories, brands).
  • TTI_Cleanup_Manager: Scoped removal of outdated products.
  • TTI_Sync_Manager: One-click and automated sync orchestration.
  • TTI_Logger: Custom logging system and sync history tracker.

Logs & Monitoring 📊

  • Sync History: Short summaries (Added, Updated, Deleted counts) are visible directly in the Tools > TapTap Auto-Sync admin page.
  • Detailed Logs: Technical details and error messages are saved to a dedicated log file: wp-content/uploads/tti-logs-sync.log

Setup & Configuration 📋

  1. Admin Panel: Navigate to Tools > TapTap Auto-Sync.
  2. Settings:
    • Enable Auto-Sync: Toggle automated background updates.
    • XML Feed URL: Paste your supplier's XML link.
    • Sync Interval: Choose from 15 minutes to Daily.
    • Smart Skip: Enable Skip Inactive to ignore products with <active>0</active>.
  3. Smart Update Check: CRON syncs automatically skip if the feed's last-update attribute hasn't changed.
  4. Manual Import: Use the main "TapTap Importer" menu to run a manual import with a real-time progress bar.

Smart isolation 🛡️

If you have multiple suppliers with similar XML structures:

  • The plugin generates a unique hash for each URL.
  • Products are tagged with their specific source hash.
  • Synchronizing one feed will never delete products from another feed.

Requirements ⚙️

  • WordPress 5.0+
  • WooCommerce 4.0+
  • PHP 7.4+