Documentation
Feedback
Guides
VTEX IO Apps

VTEX IO Apps
Overview

Basic components












Gift List
List Items Order By

The list-items-orderby block allows the user order by the items of an list. The options for order is alphabetically or addition date.

{"base64":"  ","img":{"width":848,"height":316,"type":"gif","mime":"image/gif","wUnits":"px","hUnits":"px","length":226168,"url":"https://cdn.jsdelivr.net/gh/vtexdocs/dev-portal-content@main/images/vtex-gift-list-listitemsorderby-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 list-items-orderby block to other theme block inside a list context, such as the store.list or store.guest. For example:
"store.list":{ "children": [ flex-layout.col ] }, "flex-layout.col": { "children": [ + "list-items-orderby" ], }
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
Was this helpful?
Yes
No
Suggest edits (Github)
Wrappers
My Account - StoreV2 version
Contributors
2
Photo of the contributor
Photo of the contributor
+ 2 contributors
On this page