Indexing
...
Products
Images

Configurable Product Images

3min

Klevu, by default, will sync the variant product image for each variant. It will also sync the configurable product image as a fallback.

The pipeline for variant images looks like this

Klevu_IndexingProducts::etc/pipeline/product/attributes/image/variant.yml


This Fallback pipeline will return an image patch as soon as it finds one it can use.

  • Get the Variant Klevu Image
  • Get the Variant Base Image
  • Get the Configurable Klevu Image
  • Get the Configurable Base Image
  • Get the Placeholder image. Placeholder is set before the pipeline begins and also uses a fallback
    • Get the Klevu Image Placeholder
    • Get the Base Image Placeholder
  • Finally if none of the above are set, return null.

Remove Variant Images

If you wish to always sync the configurable product image only then we can update the pipeline to remove the variant product images.

Create a pipeline override file

Vendor/Module/etc/pipeline/add_update.yml


Then add the pipeline override YAML file to the pipelines for Add and Update

Vendor/module/etc/di.xml


See Pipeline Customisation for move information on how to customise pipelines.

Updated 27 Feb 2025
Doc contributor
Did this page help you?