venveo/craft-bulkedit

Bulk edit Craft CMS element fields

Installs: 98 218

Dependents: 0

Suggesters: 0

Security: 0

Stars: 24

Watchers: 4

Forks: 4

Open Issues: 12

Type:craft-plugin

4.0.1 2022-11-28 21:14 UTC

README

Overview

The Bulk Edit plugin adds an action to supported element index pages that allows you to edit fields on a large number of elements at once. Currently, the following element types are supported:

  • Entries
  • Categories
  • Assets
  • Users
  • Craft Commerce Products

Additionally, some fields support different strategies for the edit process. At the moment, any field that works with "relations" (such as Entries, Categories, Assets, etc) supports the following strategies:

  • Replace: Replaces all content in the field
  • Merge: Merges the selected elements into the relation field
  • Subtract: Removes the selected elements from the relation field

Instructions

  1. Navigate to a supported element index page and select any number of elements
  2. Click the gear at the top of the page and select "Bulk Edit"
  3. Enable the light-switches next to the fields you're interested in editing and select a strategy
  4. Click next and enter the content for the fields
  5. Once you click Save, a task will be dispatched to the queue, at which point you will need to refresh the page for Craft to pick it up. After the queue has finished, you may reload the page and see your changes.

Limitation & Issues

  • Validation is not enforced when you're editing these fields, this means you can end up with elements with fields in potentially erroneous states (for example, removing all content on a required field)
  • After the queue finishes running, make sure you refresh the page to see the updates in the element index

Steps to use:

Screenshot Screenshot Screenshot

Requirements

This plugin requires Craft CMS 4.0.0 or later. For legacy Craft 3 support, use version 2.x

Installation

To install the plugin, follow these instructions.

  1. Open your terminal and go to your Craft project:

     cd /path/to/project
    
  2. Then tell Composer to load the plugin:

     composer require venveo/craft-bulkedit
    
  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Bulk Edit.

Brought to you by Venveo