WP Manifestindependent plugin directory
manifest / ecommerce / fix-import-settings

Fix Import Settings + Attributes Creator

Wordpress plugin Набор фиксов для импорта WordPress: разрешает внешние хосты, увеличивает память, включает отладку.

by Victor R. · github.com/vi-cron/fix-import-settings · 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/vi-cron/fix-import-settings/archive/refs/heads/main.zip

🔧 Fix Import Settings + WooCommerce Attributes Creator

A comprehensive WordPress plugin that fixes common import issues and automatically creates WooCommerce attributes from XML files.


✨ Features

🛠️ Technical Import Fixes

Feature Description
🌐 External Hosts Allow downloads from external domains during import (bypass WordPress restrictions)
🚀 PHP Limits Increase memory limit, execution time, and max input vars for large files
🔒 SSL Fix Optionally disable SSL verification for cURL (helpful on misconfigured servers)
🐛 Debug Mode Enable IMPORT_DEBUG for detailed logging to error_log

🎯 WooCommerce Attribute Creator (v2.0.0+) ⭐

The main event: Automatically creates missing WooCommerce attributes before product import starts.

How it works:

  1. Parses XML directly - Scans <wp:term> blocks with taxonomy starting with pa_ (e.g., pa_color, pa_size)
  2. Collects all data - Gathers attribute names AND all their term values
  3. Creates attributes - Adds global WooCommerce attributes to wp_woocommerce_attribute_taxonomies
  4. Registers taxonomies - Makes pa_* taxonomies available in WordPress
  5. Creates terms - Adds all attribute values as terms

🔤 Smart Label Generation

  • Reverse transliteration - For Russian sites: converts slugs like cvetЦвет, razmerРазмер
  • Clean formatting - Converts hyphens/underscores to spaces, capitalizes words

🩹 Auto-fixes

  • Duplicate prefix fix - Automatically fixes attributes mistakenly named pa_pa_colorpa_color
  • Term deduplication - Ensures no duplicate terms are created

🔄 Import/Export Attributes (NEW in v2.1.0+) ⭐

Easily backup, transfer, and restore your WooCommerce product attributes with a beautiful new interface.

✨ New Features:

  • 📤 Export to JSON — One-click export of all global attributes, including their terms (values), into a neatly formatted JSON file.
  • 📥 Import from JSON — Restore attributes from a previously exported JSON file with our new user-friendly modal window.
  • 🎯 Drag & Drop Upload — Simply drag your JSON file into the modal window to start the import process.
  • 🔍 Real-time Progress — Watch the import progress with a live progress bar and get clear success or error messages.
  • 🔄 Auto-Reload — After a successful import, the page automatically reloads in 10 seconds so you can see your new attributes immediately.
  • 🖥️ Modern UI — A brand new, clean modal window with a close button, Escape key support, and intuitive file selection.

📊 Admin Interface

Page Description
📋 Attributes Log View last import log and all existing WooCommerce attributes with status indicators
✏️ Edit Attributes Simple interface to manually edit attribute labels
⚙️ Fix Import Settings Configure all import options (limits, hosts, debug)
➕ Import/Export Buttons New! Found on the standard WooCommerce → Attributes page, right above the attributes table

📦 Installation

Standard WordPress Installation

  1. Download the latest release
  2. Upload fix-import-settings folder to /wp-content/plugins/
  3. Activate through Plugins menu in WordPress
  4. Go to Fix Import menu to configure settings
  5. For attribute import/export, go to WooCommerce → Attributes

Git Installation


cd /wp-content/plugins/
git clone https://github.com/Vi-cron/fix-import-settings.git