This PR implements the default behaviour for promotion callout. It relies on Alex's display-price work in her PR #1760 .
If the rendered price is a promotional price, we'll also render that promo's callout message in the ProductTile. Otherwise, if the variant has promotions, we'll show the callout from the very first promotion.
Types of Changes
[ ] Bug fix (non-breaking change that fixes an issue)
[ ] New feature (non-breaking change that adds functionality)
[ ] Documentation update
[ ] Breaking change (could cause existing functionality to not work as expected)
[ ] Other changes (non-breaking changes that does not fit any of the above)
Breaking changes include:
Removing a public function or component or prop
Adding a required argument to a function
Changing the data type of a function parameter or return value
Verify the promo callout message to be "10$ Off roll sleeve blouse". 34.16 is a promotional price, and we're rendering the callout message of that promotion.
This PR implements the default behaviour for promotion callout. It relies on Alex's display-price work in her PR #1760 .
If the rendered price is a promotional price, we'll also render that promo's callout message in the ProductTile. Otherwise, if the variant has promotions, we'll show the callout from the very first promotion.
Types of Changes
Changes
How to Test-Drive This PR
Also, try other kinds of products:
Also, try other pages:
Checklists
General
Accessibility Compliance
You must check off all items in one of the follow two lists:
or...
Localization