CIF Product Retriever - extendProductQuery for ComplexT
Hi all,
I have to customize the CIF Product List Component to get some extra fields, like description, short description to be displayed.
I haven't been able to find an example of extending the query with complex attributes.
So, what I can do with simple fields is:
productsRetriever.extendProductQueryWith(p -> p.metaDescription());
I can't do the same with complex fields, like
productsRetriever.extendProductQueryWith(p -> p.shortDescription());
The error message I get is [{"message":"Field \"short_description\" of type \"ComplexTextValue\" must have a sub selection."
Any help will be appreciated here.
Thanks
Ruchi