When using api-search-query (and hence response_format=compact in the api request querystring), one of the configurable children is missing most of its pricing data.
The code that removes it is this:
|
fieldsToCompress.forEach(field => { |
|
if (item._source[field] === subItem[field]) { |
|
delete subItem[field] // remove fields that are non distinct |
|
} |
|
}) |
We have a customized vsf-default theme that will display price data in the options dropdown on the PDP for configurable products. This breaks that.
I'm not sure if this is a bug or a feature?!
It can easily be "worked around" by removing the fields we want to retain from config.products.fieldsToCompress, but wanted to add an issue to at least shine a light on the "breaking change".