Documentation
Feedback
Guides

Release Notes
Release Notes
Improved
List price presentation on product selling price
August, 14

{"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/xxx-0.png"}}

The hasListPrice prop was added to the product-selling-price block from Product Price app, and it is responsible for defining whether the product should display its list price (if any) or not.

The new prop makes it possible to display a different text on a product selling price if any list price exists and differs from the first one.

{"base64":"  ","img":{"width":630,"height":298,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":28295,"url":"https://cdn.jsdelivr.net/gh/vtexdocs/dev-portal-content@main/images/xxx-1.png"}}

{"base64":"  ","img":{"width":516,"height":326,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":27265,"url":"https://cdn.jsdelivr.net/gh/vtexdocs/dev-portal-content@main/images/xxx-2.png"}}

Was this helpful?
Yes
No
On this page