Media names
The Media names batch action allows to edit names of media, which are indicated in specific attributes of products. Media names can be generated dynamically based on variables product attribute.
To open this batch action, select products in the grid, click on Edit in the bar above the grid and choose Media names. A window opens with the number of selected products in its title, for example Edit media names for 2 products.

Attributes containing media
Start by selecting the attributes you want to change the media names in. Tick them in the Attributes with media list and click Ok.

Choose the naming method for your media name format.
Media name format - Naming method
Based on attribute values
Using this method you can use a custom string and/or a variable. Type the format in the Media name field; to add a variable, type # and pick the attribute from the list.

The next step is to choose a language to pull variable values from. It's required to do so even if variables are not used to create a new media name.

The summary below the form repeats the chosen attributes, the media name format and the language of variables. Click on Edit media names, then confirm with Start batch action in the final confirmation window to start the renaming process.

When it's done, the system will send a notification via the Action center.
Example configuration:
Media name format
#name-#type-#color-Language of variables
English (United Kingdom)Attributes with media to be renamed
Main image, Gallery
Sample effect for a single product:
Assume that the product has the following values:
#name: "Adidas Shoes"#type: "Casual"#color: "Black"Value
image1.jpgin attributeMain imagechange its name toAdidas Shoes-Casual-Black-01.jpgValue
gallery_image001.jpgin attributeGallerychange its name toAdidas Shoes-Casual-Black-02.jpgValue
gallery_image002.jpgin attributeGallerychange its name toAdidas Shoes-Casual-Black-03.jpgValue
gallery_image003.jpgin attributeGallerychange its name toAdidas Shoes-Casual-Black-04.jpg
Based on product SKU
This method does not need any additional configuration. The information below the field shows the resulting format: SKU-01.extension.

Example configuration:
Assume that the product has the following values:
#SKU: "001"
#total number of files in selected attributes: 4
Attributes with media to be renamed Main image, Gallery
Sample effect for a single product:
Value
image1.jpgin attributeMain imagechange its name to001-01.jpgValue
gallery_image001.jpgin attributeGallerychange its name to001-02.jpgValue
gallery_image002.jpgin attributeGallerychange its name to001-03.jpgValue
gallery_image003.jpgin attributeGallerychange its name to001-04.jpg
Last updated
Was this helpful?

