Documentation
Feedback
Guides
VTEX IO Apps

VTEX IO Apps
Overview

Basic components












Gift List
Go Back To List

The go-back-to-list block allows the user to return to the list.

{"base64":"  ","img":{"width":1712,"height":666,"type":"gif","mime":"image/gif","wUnits":"px","hUnits":"px","length":275225,"url":"https://cdn.jsdelivr.net/gh/vtexdocs/dev-portal-content@main/images/vtex-list-gobacktolist-0.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 go-back-to-list block to other theme block inside a search context, such as the store.search. For example:
"search-result-layout.desktop":{ "children": [ flex-layout.row ] }, "flex-layout.row": { "children": [ "flex-layout.col#searchinfo", "flex-layout.col#search-product", + "go-back-to-list", ] }
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
Was this helpful?
Yes
No
Suggest edits (Github)
Add New Item
Auth Condition
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
On this page