Documentation
Feedback
Guides
VTEX IO Apps

VTEX IO Apps
Deprecated
Product Highlights

{"base64":"  ","img":{"width":73,"height":20,"type":"svg","mime":"image/svg+xml","wUnits":"px","hUnits":"px","length":927,"url":"https://cdn.jsdelivr.net/gh/vtexdocs/dev-portal-content@main/images/vtex-store-components-producthighlights-0.png"}}

The Product Highlights block has been deprecated in favor of the Product Specifications app. Although support for this block is still granted, we strongly recommend you to update your store theme with the Product Specification's blocks in order to keep up with the component's evolution.

The product-highlights block shows the general specifications of a product.

Configuration

  1. Import the vtex.store-components app to your theme's dependencies in the manifest.json file as in the following example:

_10
"dependencies": {
_10
"vtex.store-components": "3.x"
_10
}

  1. Add the product-highlights block to any child of the store.product or product-summary templates. For example:

_10
"store.product": {
_10
"children": [
_10
+ "product-highlights",
_10
]
_10
},

  1. Then, declare the product-highlights block using the props stated in the Props table.

Props

Prop nameTypeDescriptionDefault value
highlightsArray(Highlights)Highlights of a product.[]

highlights props

Prop nameTypeDescription
nameString!Highlights name.
valuesArray(String)!Highlights values.

Customization

To apply CSS customizations in this and other blocks, follow the Using CSS handles for store customization guide.

CSS Handles
highlightContent
itemHighlight
highlightTitle
highlightValue
Contributors
1
Photo of the contributor
+ 1 contributors
Was this helpful?
Yes
No
Suggest edits (Github)
Contributors
1
Photo of the contributor
+ 1 contributors
On this page