sparkable / magento-mago-bulk-update
Mago Assistant tool that sets attribute values on many products and adds attribute options
Package info
github.com/sparkable-agency/mago-bulk-update
Type:magento2-module
pkg:composer/sparkable/magento-mago-bulk-update
1.0.0
2026-11-25 12:39 UTC
Requires
- php: ^8.3
- magento/framework: *
- magento/module-catalog: *
- magento/module-eav: *
- mago-assistant/magento2-mago: ^1.1
- sparkable/magento-mago-product-finder: ^1.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-12-02 14:29:16 UTC
README
A tool for the Mago admin assistant. It changes one attribute on many products at once, and adds options to a dropdown attribute.
| Action | What it does |
|---|---|
update_products |
Sets one attribute to one value on every product of a selection, at most 1000 products per call. |
add_attribute_options |
Adds options to a select or multiselect attribute, with translations for one store view. |
Example questions:
- "Set the special price of all red gears to 9.50."
- "Add the options Foam and Gel to the grip attribute."
Installation
The package is on Packagist: sparkable/magento-mago-bulk-update.
composer require sparkable/magento-mago-bulk-update
bin/magento module:enable Sparkable_MagoProductFinder Sparkable_MagoBulkUpdate
bin/magento setup:upgrade
The module needs sparkable/magento-mago-product-finder. Composer installs it.
How a write works
- The admin user confirms every write on a card. The card shows the product count, the selection in words, the new value and sample SKUs.
- The tool checks a value as the Magento web API does for a product save.
- The tool keeps no copy of the old values.
- The tool refuses SKU, URL key, category, stock, tier price, media and unique attributes.
Permissions and privacy
update_productsneedsMagento_Catalog::update_attributes. A design attribute also needsMagento_Catalog::edit_product_design.add_attribute_optionsneedsMagento_Catalog::attributes_attributes.- A merchant can close an attribute for the assistant. See "Attribute access" in the product finder module.
- All returned fields are catalog data and cross as they are.
Tests
vendor/bin/phpunit -c dev/tests/unit/phpunit.xml.dist vendor/sparkable/magento-mago-bulk-update/Test/Unit