Thanks for your patience while I developed the first version of a solution for your application.
I have developed a new version of the “WooCommerce Fixit” example plugin that adds two “Term Assignments for Media Library Items” tools to clear/copy product category and/or product tag term assignments from products to the items used as the product image or in the product gallery.
I have uploaded a new MLA Development Version dated 20160913 that contains the example plugin. To get the Development Version, follow the instructions in this earlier topic:
Shortcode not working in (special) widget
After you install the Development Version you can easily install the example plugin. Navigate to the Settings/Media library Assistant Documentation tab and click the “Example Plugins” button. You will see a submenu that lists all the example plugins and give you a “one-click” action for installing them.
You are looking for “WooCommerce Fixit” plugin. Find that plugin and hover over the title in the left-most column. Click the “Install” rollover action, then go to the standard WordPress Plugins/Installed Plugins submenu and activate it.
Once the plugin is active you can go to the Tools/Woo Fixit submenu to access the tools. The new tools are at the bottom of the Tools/Woo Fixit screen. You can use the “First Product” and “Last Product” text boxes at the top of the screen to restrict operation of the tools to one or a few products for testing purposes. If you have memory or elapsed time issues running the tools on large numbers of products you can break up the processing with these controls, too.
You might also be interested in the “Where-used” tool in the “Operations on the Featured Image and Product Gallery” section. After you have run the “Where-used” operation at least once, go to the Settings/Media Library Assistant Custom Fields tab and define a new rule to display the results. Scroll down to the “Add a new Mapping Rule” section and select “Woo Used In” from the dropdown control. Check the “MLA Column” and “Quick Edit” boxes, then click “Add Rule”. You can then see the results in the Media/Assistant submenu table.
The Development Version also has a completely re-written Settings/Media Library Assistant Shortcodes tab with a more WordPress-like interface. If you use custom [mla_gallery]
templates, I welcome any feedback you have on the new implementation.
I will leave this topic unresolved until the updated example plugin goes out in the next MLA version. Let me know if you have any problems or further questions regarding the new tools.