MMI Tools for WooCommerce

By Michael Mann

0+ active installationsVersion 1.1.0

Drag pictures between Product image and the gallery, and see every product picture's file name, size and alt text.

Description

The product edit screen shows your product pictures as small squares with no names. Changing the main picture means opening the media window and finding the same picture again. Finding a product’s picture in the Media Library means guessing its file name.

MMI Tools for WooCommerce fixes both, inside WooCommerce’s own Product image and Product gallery boxes.

Move pictures between Product image and the gallery

  • Drag any gallery picture onto the Product image box. It becomes the main picture, and the old main picture moves into the gallery in its place.
  • Or hover a gallery picture and click its star. The star button also works from the keyboard and on touch screens.
  • Drag the product image into the gallery, to any position. It becomes a gallery picture and Product image is left empty.
  • Changed your mind? Click Undo. Nothing is saved until you click Update, exactly like WooCommerce’s own gallery reordering.

See what each picture is

  • Under the product image: the file name (click it to copy), dimensions, file size, attachment ID, whether it has alt text, and a link that opens it in the Media Library.
  • A List view for the gallery shows the same details for every picture, and still lets you drag to reorder. In the usual Thumbnails view, hover a picture to see its file name.

Light and private

  • Loads only on the product edit screen.
  • Adds no database tables and makes no extra server requests while you work.
  • Never contacts any outside service, and collects no data.
  • Works with WooCommerce’s classic product editor, the only product editor in WooCommerce 11.

Each tool can be turned off under WooCommerce → Settings → Products → Product edit screen.

Installation

  1. Install and activate WooCommerce.
  2. In WordPress, go to Plugins → Add New Plugin, search for “MMI Tools for WooCommerce”, then click Install Now and Activate.
  3. Open any product. The new controls are in the Product image and Product gallery boxes.

FAQ

When is the new product image saved?

When you click Update (or Publish) on the product, the same as WooCommerce’s own gallery changes. If you leave without updating, nothing changes.

Can I make a gallery video the product image?

No. A product image has to be a picture, so videos in the gallery have no star and can’t be dropped on Product image.

Does it change my pictures or files?

No. It only changes which picture is the product image and which are in the gallery. Files, file names and alt text are never edited.

Who can use the tools?

Anyone who can edit products (the edit_products capability). Developers can change that with the mmiwc_required_capability filter.

Screenshots

Changelog

1.1.0

  • New: drag the product image into the gallery. It lands where you drop it, and Product image is left empty. Undo is one click.

1.0.0

  • New: drag a gallery picture onto Product image, or click its star, to make it the product image. The old product image moves into the gallery. Undo is one click.
  • New: file name, dimensions, file size, attachment ID and alt text for the product image and every gallery picture, with a link to the Media Library.
  • New: List view for the product gallery.