Edit media names
Batch action “Edit media name” 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.

Attributes with media
Start by selecting the attributes you want to change the media names in.

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.

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.

Click on Edit media names 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.jpg
in attributeMain image
change its name toAdidas Shoes-Casual-Black-01.jpg
Value
gallery_image001.jpg
in attributeGallery
change its name toAdidas Shoes-Casual-Black-02.jpg
Value
gallery_image002.jpg
in attributeGallery
change its name toAdidas Shoes-Casual-Black-03.jpg
Value
gallery_image003.jpg
in attributeGallery
change its name toAdidas Shoes-Casual-Black-04.jpg
Based on product SKU
This method does not need any additional configuration.
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.jpg
in attributeMain image
change its name to001-01.jpg
Value
gallery_image001.jpg
in attributeGallery
change its name to001-02.jpg
Value
gallery_image002.jpg
in attributeGallery
change its name to001-03.jpg
Value
gallery_image003.jpg
in attributeGallery
change its name to001-04.jpg
Last updated
Was this helpful?