Description
Find and replace text in product descriptions or add text before or after them.
The Description field edits the product description (the HTML body of the product).
Edit methods
Section titled “Edit methods”| Edit method | Inputs |
|---|---|
| Find and replace (default) | Find value, Replace value |
| Replace entire text | Value |
| Add text at beginning | Value |
| Add text at end | Value |
Working with HTML
Section titled “Working with HTML”Descriptions are stored as HTML. The value you type is inserted as-is, so you can include HTML tags:
- Add text at end with
<p>Free shipping on orders over $50.</p>appends a new paragraph. - Find and replace works on the HTML source. To replace text that Shopify has wrapped in tags, match the exact text between the tags, for example find
Soft 100% cottonand replace withSoft organic cotton.
The Find value and Replace value boxes are multi-line so you can paste longer snippets.
- Use Replace entire text carefully. It overwrites the complete description of every matching product.
- Dynamic variables work in all three inputs, for example
<p>Made by {{ product.vendor }}.</p>. - Click the eye icon in the preview or in Product changes to compare the original and updated descriptions side by side.
- Reverting the task restores the original description of each product.