AboveWP Bulk Attribute Change

Description

This WordPress plugin allows you to find products with specific attribute terms, remove them, and add a different attribute term instead. It’s designed to be reusable for different attributes and terms.

Note: This is a developer-oriented tool that requires knowledge of WooCommerce attribute term IDs. It’s intended for technical users who need to perform bulk attribute modifications.

Key Features

  • Find products with specific attribute terms
  • Remove selected attribute terms
  • Add new attribute terms
  • Batch processing with configurable size
  • Server-driven progress tracking
  • Resume functionality
  • Automatic retry for failed batches
  • Detailed logging

Reliability Features

  • Server-Driven Progress: Progress calculation is handled entirely by the server for perfect accuracy
  • Complete Client-Server Synchronization: Client and server stay perfectly in sync throughout the process
  • Product ID Caching: All product IDs are cached at the start to ensure consistent processing
  • Resume Functionality: If the process is interrupted, you can resume from where it left off
  • Configurable Batch Size: Process up to 100 products per batch for faster operation
  • Automatic Retry: Failed batches are automatically retried up to 3 times
  • Detailed Logging: Server-side logging helps identify issues
  • Extended Timeouts: Longer timeouts to prevent connection issues during processing

Usage

  1. After activation, go to Tools > Bulk Attribute Change in the WordPress admin menu
  2. Configure the settings:
    • Attribute: Select the product attribute to modify (e.g., “Proizvoditel”)
    • Source Term IDs: Enter the term IDs to remove, separated by commas (e.g., “374,373”)
    • Target Term ID: Enter the term ID to add (e.g., “371”)
    • Batch Size: Set the number of products to process in each batch (1-100)
  3. Click “Save Settings” to store your configuration
  4. Click the “Start Process” button to begin processing products
  5. The plugin will:
    • Find all products with the specified attribute terms
    • Remove those attribute terms
    • Add the target attribute term instead
  6. A progress bar will show the status of the operation
  7. When completed, a summary will be displayed showing how many products were updated

Technical Details

  • The plugin directly queries products with the specific attribute terms for optimal performance
  • Products are processed in batches with configurable size (default: 5, max: 100)
  • All product IDs are cached in a WordPress transient for consistent processing
  • Only published products are processed
  • Only users with ‘manage_options’ capability can run the process
  • The plugin uses AJAX to process products asynchronously
  • Settings and progress are saved in the WordPress options table
  • Server calculates and reports progress to ensure accuracy

Requirements

  • WordPress 5.0 or higher
  • WooCommerce 3.0 or higher

Installation

  1. Upload the abovewp-bulk-attribute-change folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Reviews

There are no reviews for this plugin.

Contributors & Developers

“AboveWP Bulk Attribute Change” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.0

  • Initial release