Supplier catalogs

How to skip JSON products without a main image

2026-06-29
Task

Some products in the JSON catalog have an empty image_url. These items should not be sent forward because the product record is not ready for import without a main image.

Short answer

Open the image_url settings, add a not empty export condition, and apply it to the current product element. The whole product object without an image will be skipped.

How to do it in Eofferix

  1. In the JSON snapshot, select the image_url value inside the repeated product.

    JSON image_url field
    The selected field will be checked before the product is exported.
  2. Open the value settings.

    Opening image_url in JSON
    The animation shows opening the image field settings.
  3. Add a not empty export condition for {/products/image_url} and set the scope to the current product element.

    image_url is not empty condition
    This filter excludes a product without a main image.

Before / after

Before

source data
{
    "supplier": "Northline",
    "products": [
        {
            "sku": "SKU-4101",
            "name": "Hudson lamp",
            "image_url": "https://cdn.example.com/4101.jpg",
            "price": "24.90"
        },
        {
            "sku": "SKU-4102",
            "name": "Parker chair",
            "image_url": "",
            "price": "139.00"
        },
        {
            "sku": "SKU-4103",
            "name": "Harbor shelf",
            "image_url": "https://cdn.example.com/4103.jpg",
            "price": "16.40"
        }
    ]
}

After

result
{
    "supplier": "Northline",
    "products": [
        {
            "sku": "SKU-4101",
            "name": "Hudson lamp",
            "image_url": "https://cdn.example.com/4101.jpg",
            "price": "24.90"
        },
        {
            "sku": "SKU-4103",
            "name": "Harbor shelf",
            "image_url": "https://cdn.example.com/4103.jpg",
            "price": "16.40"
        }
    ]
}

What to keep in mind

  • The condition should exclude the whole product, not only the image_url field.
  • If the supplier sends an image array, choose the main field or first URL according to your template rules.
  • Check that whitespace-only values are not treated as valid links.

Process data faster with Eofferix

Create a free account to automate catalogs and price lists around your own rules.

Sign up