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.

att-exampleatt-example

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

Did this page help you?