Documentation
Feedback
Guides

Basic components
Product Summary Attachment List

Product Summary Attachment is the block exported by the Product Summary app responsible for rendering the attachment options available for a product.

{"base64":"  ","img":{"width":1164,"height":751,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":722236,"url":"https://cdn.jsdelivr.net/gh/vtexdocs/dev-portal-content@main/images/vtex-product-summary-productsummaryattachmentlist-0.png"}}

Configuration

  1. Import the vtex.product-summary app to your theme's dependencies in the manifest.json:
  "dependencies": {
    "vtex.product-summary": "2.x"
  }
  1. Add the product-summary-attachment-list block to a store template of your choice as a child of the product-summary.shelf block. For example:
   "product-summary.shelf": {
    "children": [
      "product-summary-image",
      "product-summary-name",
      "product-summary-sku-name",
+     "product-summary-attachment-list",
      "product-summary-space",
      "product-summary-column#1"
    ]
  },

After adding the product-summary-attachment-list block to your store theme, use the VTEX Admin to add attachments to your products to display the component in your store correctly. For more information, please refer to Adding an attachment.

Customization

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

CSS Handles
attachmentListContainer
attachmentItemContainer
attachmentItem
attachmentItemProductText
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
Was this helpful?
Yes
No
Suggest edits (Github)
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
On this page