Some promotions can't be displayed in search context
ID: 475289
Backlog
Published on 3/17/2022
•
Last update on 11/25/2022
Summary
Some types of promotions aren't retrieved in the ProductSummaryProvider context, and therefore its badges aren't rendered by the vtex.product-highlights component.
Simulation
These are the types of promotion settings that are known to reproduce this problem:
- Regular Promotion with discount type set as Gift;
- Regular promotion that is configured to be applied to specific Brand AND Collection together;
Workaround
Include the promotional products in a specific collection and set the product-highlights component as "type": "collection"
, so that it shows the collection badge.