Description
Auto Attribute Assigner lets you define, per product category, which WooCommerce product attributes (and optional default values) should be applied to products in that category. When you create a product in a matching category, the attributes are added automatically – no more setting the same attributes by hand on every new product.
This version is completely free with no feature limits.
Features
- Create as many category rules as you like, each with as many attributes as you need.
- Optional default value per attribute.
- Attributes are assigned automatically when a product is first created.
- Attributes are not re-added on every product update, so attributes you removed do not reappear.
- Manual « Assign » button in the product’s attribute section to pull the presets for a product on demand.
- « Assign presets to all products » button to apply the presets to your whole existing catalogue at once.
- Available in English and German (de_DE).
If this plugin saves you time, you can support its ongoing development with a small donation using the « Support / Donate » button in the plugin – thank you!
Installation
- Upload the plugin to the
/wp-content/plugins/directory, or install it directly from the WordPress plugin directory. - Activate the plugin through the « Plugins » menu in WordPress.
- Make sure WooCommerce is installed and activated.
- Go to Auto Attribute Assigner in the admin menu and create your category rules.
FAQ
-
How do I assign attributes to a category?
-
Open Auto Attribute Assigner, select a product category, check the attributes you want (and optionally set a default value), then save the rule. New products created in that category will receive the attributes automatically.
-
Why don’t my existing products get the attributes automatically?
-
Attributes are assigned automatically only when a product is first created, so the plugin never overwrites or re-adds attributes on later edits. To apply the presets to products that already exist, use the « Assign presets to all products » button on the settings page, or the manual « Assign » button on a single product.
-
Does the plugin remove attributes?
-
No. Deleting a rule never removes attributes that were already written to your products.
Avis
Il n’y a aucun avis pour cette extension.
Contributeurs/contributrices & développeurs/développeuses
« Auto Attribute Assigner » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.
ContributeursTraduisez « Auto Attribute Assigner » dans votre langue.
Le développement vous intéresse ?
Parcourir le code, consulter le SVN dépôt, ou s’inscrire au journal de développement par RSS.
Journal des modifications
2.2
- New: Role based permission matrix – decide per user role who may see the plugin, create or edit rules, delete rules, use the « Assign » button on a product and run the bulk assignment.
- New: Users whose role may not see the plugin get no menu entry and no entry in the plugins list – for them the plugin looks as if it were not installed.
- Security: Every action is checked again on the server (saving, deleting, bulk assign, AJAX assign), not only hidden in the interface.
- Security: Administrators always keep full access and cannot be locked out.
- Improved: The permission setting of 2.1 (single capability) is migrated into the new matrix automatically. The filter « autoatas_bulk_assign_capability » still works; the new filter « autoatas_user_can » overrides any check.
- Improved: « How to use » page extended (category hierarchy, column layout, permissions) and all output properly escaped.
- Improved: Translations for German (de_DE) and English (en_US) updated.
- New: The « Assign presets to all products » button can be restricted to a capability; default is install_plugins (administrators only).
- Improved: Attribute selection uses a grid layout with white cards, highlighted active attributes and a 1/2/3 column switcher.
- Improved: The category select shows the full category hierarchy – sub-categories are indented below their parent category.
- Improved: Each category name is followed by its slug in brackets, so categories with the same name can be told apart.
- Improved: The full path is shown on hover and below the select after selection (e.g. « Shoes > Women »).
- Improved: The saved rules table shows the full category path instead of only the slug.
2.1
- Improved: The category select now shows the full category hierarchy – sub-categories are indented below their parent category.
- Improved: Each category name is followed by its slug in brackets, so categories with the same name can be told apart.
- Improved: The full path is shown on hover and below the select after selection (e.g. « Shoes > Women »).
- Improved: The saved rules table now shows the full category path instead of only the slug; categories that no longer exist are marked.
- Note: Existing rules stay valid, no migration required.
2.0
- The plugin is now completely free with no feature limits (unlimited category rules and unlimited attributes per rule).
- Attributes are now assigned automatically only when a product is first created – no longer on every product update, so attributes you removed no longer reappear on the next save.
- Existing products are no longer modified automatically; use the manual or bulk assign buttons to fill them.
- New: manual « Assign » button in the product’s attribute section.
- New: « Assign presets to all products » button for bulk assignment across the whole catalogue.
- New: English and German (de_DE) language packs.
- New: « Support / Donate » button.
- Security: deleting a rule is now protected with a nonce (CSRF protection).
- Now maintained by Norix IT Support & Webdesign e.U.
- Tested with PHP 8.2, WordPress 7.1 and WooCommerce 11.1.
1.3
- Bugfixes.
- German language pack.
1.2
- Bug fixes and optimizations.
1.1
- Initial plugin release.