Product Summary Attachment is the block exported by the Product Summary app responsible for rendering the attachment options available for a product.
An error occurred while loading the image https://user-images.githubusercontent.com/67270558/156370029-833f68ce-a270-4e01-ae20-5d63061f0a03.png
Configuration
- Import the
vtex.product-summary
app to your theme's dependencies in themanifest.json
:
- Add the
product-summary-attachment-list
block to a store template of your choice as a child of theproduct-summary.shelf
block. For example:
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 |