Documentation
Feedback
Guides
VTEX IO Apps

VTEX IO Apps
Product Modal
vtex.list
Version: 3.6.4
Latest version: 3.x

The modal-select-product block displays a modal with detailed information (such as size and color) about the product the costumer wants to add to the lists they own.

{"base64":"  ","img":{"width":905,"height":533,"type":"gif","mime":"image/gif","wUnits":"px","hUnits":"px","length":8364893,"url":"https://user-images.githubusercontent.com/76453090/190513307-0d92633f-e0ad-4a92-a794-5defb1beb7c0.gif"}}

Configuration

  1. Import the vtex.list app to your theme's peer dependencies in the manifest.json file as in the following example:
"peerDependencies": { "vtex.list": "3.x" }
  1. Add the modal-select-product block to other theme block, such as the responsive-layout.desktop. For example:
"responsive-layout.desktop": { "children": [ + "modal-select-product", ] }

Customization

Prop NameTypeDescriptionDefault Value
nameButtonstringChanges the name of the button that opens the modal"Button name"
See also
Vtex.list
VTEX IO Apps
VTEX App Store
VTEX IO Apps