Documentation
Feedback
Guides

Release Notes
Release Notes
Improved
Product Summary Image's match criteria
April, 1

{"base64":"  ","img":{"width":105,"height":20,"type":"svg","mime":"image/svg+xml","wUnits":"px","hUnits":"px","length":951,"url":"https://cdn.jsdelivr.net/gh/vtexdocs/dev-portal-content@main/images/product-summary-images-match-criteria-0.png"}}

The Product Summary Images app can now identify and render images according to its label's substrings, set in the Catalog module's imageLabel field.

Previously, the mainImageLabel and the hoverImageLabel props, responsible for defining which images should be rendered by the app, did not take into account substrings, only the whole string. In practice, this means that the value passed to these props should be the same as the one defined in the Catalog's imageLabel field.

The match criteria have now been broadened — from now on, render images using the Product Summary Images app based on their label's substrings as well.

Was this helpful?
Yes
No
On this page