How to Add Text or URL Paths to Fields During Import

How to Add Text or URL Paths to Fields Using Custom Fields

In this tutorial, we’ll learn how to concatenate fields from the import file with custom text or URL paths using the Custom Fields feature in Products Sync Master.

Example: Add Image URL Path Automatically

Suppose you need to import product images, but your file only contains image names. Since importing requires a full image URL, you can easily add the missing URL path using a custom formula.

For example, let’s say your import file has a column named image containing only image file names.

To generate the full image URL, create a Custom Field with the formula type String and use the following formula:

https://ex.com/img/[image]

Here, https://ex.com/img/ is the base URL of your images folder, and [image] is the field from your file.

Custom Field Image URL Formula Example

Step 2: Assign the Custom Field to Image Import

After creating the formula, save your import template and select the new custom field for image import:

Select Custom Field for Image Import

That’s it — the app will automatically concatenate the base URL and image name during import, generating valid image links for each product.