Editing Product Fields Using Placeholders from Other Fields
There may be times when you want to modify product fields using data from another fields. For example, you may need to add the vendor to the end of all your SEO product descriptions. In situations like this you can tell the app to use whatever value is in that other field as part of the new value. In this case, you would use the vendor placeholder to add to the beginning of the description field.
This article covers:
- Using a placeholder
- Using part of a tag as a placeholder
- Fields that can be edited using placeholders
- Fields that can be used as placeholders
Using a placeholder
In this example, we are going to bulk edit products by adding the text "from [VENDOR]" to the end of the product title. To get started, search for the products in the app you want to edit and click on then Edit Products button. You will then see the 'Modify Products' tab where you can configure the edit:
- Click on the field selector (the button that defaults to 'Price') and choose the Title field.
- In the 'How to edit' drop-down select Add text to end
- In the 'Add this text to the end' box, type the text " from " (with a space at the start and the end)
- Then click on the 'Add Placeholder' button and choose the Vendor option
- You'll see the text in the input box update and if you look below at the edit preview all the products' titles have the vendor added to the end
- Click on Run Edit to start editing your products
Using part of a tag as a placeholder
The 'Add Placeholder' drop down has the 'Tag Suffix' option which allows you to use part of a tag as a placeholder value. This can be useful if you have a tag like 'size=XL' and you want to just use 'XL' for the placeholder.
When you choose the 'Tag Suffix' option, a popup window will appear asking you to enter the first part of the tag to match on. This is the part of the tag, like 'size=', that is constant across all the products.
If a matching tag isn't found, the placeholder will return a blank string. You can avoid this by first searching only for products with tags that contain the text that you are looking for (eg, 'size=').
Fields that can be edited using placeholders
- Google Shopping Fields: Manufacturer Part Number (MPN) andCustom Labels 1 through 4
- Manufacturer Part No
- Meta Description
- Meta Title
- Option 1 Name / Value
- Option 2 Name / Value
- Option 3 Name / Value
- Product Type
- Any text product metafield
If you use a variant placeholder (like SKU or Price) on a product-level field (like the product's title), the app uses the value of the first variant.
Fields that can be used as placeholders
- Compare Price
- Product ID
- Product Type
- SKU Tags
- Variant Count
- Variant Options 1 through 3
- Any text metafield