Editing Rich Text Metafields
Rich text metafields allow you to store text with some basic formatting. These are often used for snippets that show up in themes, like an author biography section for example.
Shopify stores and Ablestar Bulk Product Editor use rich text metafields in a custom JSON format however, the app can convert your HTML to that format.
If you do choose to use HTML, only a limited set of tags are supported.
📹 Prefer a video walkthrough?
Choose if you prefer the 'In-App Edit' or 'Spreadsheet' method:
1. In-App Edits
Once you have filtered a set of products to update, click the Edit products button. From the 'Configure modifications' view, search for your specific rich-text field.
Choose the 'How to edit' option required:
- Set text to value: Overrides the existing text with a new value. All existing text will be replaced.
- Find and replace: Replaces any specified text, spaces, HTML code or punctuation (considering case syntax). If case syntax doesn't match exactly, nothing will be updated.
- Delete metafield: Removes the metafield specified completely (with an option to undo the edit if you make a mistake)
In this example, our rich-text metafield is named 'Performance Highlights' and once selected, it opens the rich-text editing window for edit.
Accepted Formats
Shopify supports the following formats:
1. Headings: Six levels of headings (H1 through H6) for semantic structure.
2. Text Styling: Bold, italic, underline, and strikethrough.
3. Lists: Bulleted (unordered) and numbered (ordered) lists.
4. Links: Hyperlinks for internal store pages or external URLs.
5. Tables: Custom tables for product comparisons or data.
6. Media: Direct embedding of images and videos.
It is possible to copy/paste HTML into this rich text edit, however, the app will convert the HTML to Shopify's JSON format and strip unsupported tags. Shopify supports the following HTML tags:
- Headings
- Paragraphs and line breaks:
- Bold:
- Italic:
- Underline:
- Links:
- Lists:
2. Spreadsheet Edits
You can also set a rich text metafield through a spreadsheet edit by setting the corresponding cell to either:
- HTML
- Shopify's JSON format for rich text metafields
As with in-app edits, the app will convert the HTML to Shopify's JSON format and strip unsupported tags.
✅ Tips and Troubleshooting
- Additionally, the top-level elements in the HTML need to be either paragraphs or lists. The app will attempt to convert these for you.
- Please reach out if you are having issues formatting the rich text metafields
(04.186)