For the complete documentation index, see llms.txt. This page is also available as Markdown.

Custom metafields

Bulk edit any product or variant metafield that has a definition in Shopify.

Use Custom product metafield (product fields) or Custom variant metafield (variant fields) to edit metafields you have defined in Shopify admin › Settings › Custom data.

Pick the definition

In the Field to edit card click Choose a metafield definition, search, and select the definition. The card then shows its type, for example Type: single_line_text_field. One task edits one metafield definition.

Edit methods depend on the type

Metafield type
Edit methods

Text, number, date, URL and similar single-value types

The text methods (Find and replace, Replace entire text, Add text at beginning, Add text at end, Remove …), plus Increase by amount, Decrease by amount, Increase by percentage, Decrease by percentage for numbers, plus Set to null/blank.

Types with a fixed set of choices, boolean, money, rating, JSON, rich text, measurements and references

Replace entire text and Set to null/blank.

List types (list.*)

Set list to values, Add and remove values, Set to null/blank.

Set to null/blank removes the metafield from the product or variant.

Value inputs

The value input matches the type:

  • Choices become radio buttons; booleans become Yes / No.

  • Dates and date-times get a date picker; colours get a colour picker; money shows your store currency; ratings show the allowed scale.

  • Measurements (weight, volume, dimension and others) get a number box and a unit list.

  • Rich text opens a formatting editor. JSON must be valid JSON.

  • References open a picker for the right resource: products, variants, collections, pages, blog posts, files, customers, companies or metaobject entries.

Revert

Reverting restores the previous metafield value, or removes the metafield if the product or variant did not have one before the task.

Last updated

Was this helpful?