Skip to main content

Length Mutation

The Length mutation allows you to calculate the length of a text field or a list. This can be useful for creating new attributes based on the length of existing ones.

Example

In this example we add the custom_label only_one_additional_image to products that have only one additional image.

A screenshot showing the Length mutation.
Length Mutation Example