Documentation
Feedback
Guides
VTEX IO Apps

VTEX IO Apps
Product Summary Description
vtex.product-summary
Version: 2.52.3
Latest version: 2.90.2

This page is about version 2.52.3 of the app, which is not the most recent version. The latest stable version is 2.90.2.

Description

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

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

Table of Contents

Usage

You should follow the usage instruction in the main README.

Then, add product-summary-description 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 ProductSummaryDescription.


_10
"product-summary-description": {
_10
"component": "ProductSummaryDescription"
_10
}

Configuration

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

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:

_10
"builders": {
_10
"styles": "1.x"
_10
}

  1. Create a file called vtex.product-summary.css inside the styles/css folder. Add your custom styles:

_10
.description {
_10
margin-top: 10px;
_10
}

CSS Handles

CSS HandlesDescriptionComponent Source
descriptionThe main container of descriptionindex
See also
Vtex.product Summary
VTEX IO Apps
VTEX App Store
VTEX IO Apps