描述
尋找並取代商品描述中的文字,或在描述前後新增文字。
Description 欄位會編輯商品描述(商品的 HTML 本文)。
| 編輯方式 | 輸入 |
|---|---|
| Find and replace (default) | Find value、Replace value |
| Replace entire text | Value |
| Add text at beginning | Value |
| Add text at end | Value |
使用 HTML
Section titled “使用 HTML”描述是以 HTML 儲存的。您輸入的值會原樣插入,因此可以包含 HTML 標籤:
- 使用 Add text at end 搭配
<p>Free shipping on orders over $50.</p>,會附加一個新段落。 - Find and replace 作用於 HTML 原始碼。若要取代被 Shopify 包在標籤中的文字,請比對標籤之間的確切文字,例如尋找
Soft 100% cotton,並取代為Soft organic cotton。
Find value 和 Replace value 方塊支援多行輸入,方便您貼上較長的片段。
- 請謹慎使用 Replace entire text。它會覆寫每項符合條件商品的完整描述。
- 動態變數可用於全部三個輸入框,例如
<p>Made by {{ product.vendor }}.</p>。 - 點擊預覽或 Product changes 中的眼睛圖示,即可並排比較原始描述和更新後的描述。
- 還原任務會恢復每項商品的原始描述。