Product Summary Price


ProductSummaryPrice is a VTEX Component that renders the product's price. This Component can be imported and used by any VTEX App.

📢 Disclaimer: Don't fork this project; use, contribute, or open issue with your feature request.

Table of Contents


You should follow the usage instruction in the main README.

Then, add product-summary-price block into your app theme, as we do in our Product Summary app.

Blocks API

This component has an interface that describes which rules must be implemented by a block when you want to use the ProductSummaryPrice.

  "product-summary-price": {
    "component": "ProductSummaryPrice"


Through the Storefront, you can change the ProductSummaryPrice's behavior and interface. However, you also can make in your theme app.

Prop nameTypeDescriptionDefault value
showListPriceBooleanShows the product list pricetrue
showInstallmentsBooleanSet installments' visibilitytrue
showLabelsBooleanSet pricing labels' visibilitytrue
labelSellingPriceStringText of selling price's label
labelListPriceStringText of list price's label
showBordersBooleanSet product's borders visibilityfalse
showListPriceRangeBooleanSet if you want to see list price as range (lowest - highest) when availablefalse
showSellingPriceRangeBooleanSet if you want to see selling price as range (lowest - highest) when availablefalse

Styles API

This app provides some CSS classes as an API for style customization.

To use this CSS API, you must add the styles builder and create an app styling CSS file.

  1. Add the styles builder to your manifest.json:
  "builders": {
    "styles": "1.x"
  1. Create a file called vtex.product-summary.css inside the styles/css folder. Add your custom styles:
.priceContainer {
  margin-top: 10px;

CSS namespaces

Below, we describe the namespaces that are defined in the menu.

Token nameDescriptionComponent Source
priceContainerThe main container of priceindex