Documentation
Feedback
Guides
VTEX IO Apps

VTEX IO Apps
rebuy
Official extension
Version: 1.7.0
Latest version: 1.7.0

VTEX Rebuy app

This app shows the last order for the identified user, with a button to buy the same products again.

Usage

For this to work, you need to create the lastOrders schema on the orders dataentity. Docs


_20
{
_20
"properties": {
_20
"clientProfileData": {
_20
"type": "object",
_20
"properties": {
_20
"email": {
_20
"type": "string",
_20
"format": "email"
_20
}
_20
}
_20
}
_20
},
_20
"v-default-fields": ["items", "value"],
_20
"v-security": {
_20
"allowGetAll": false,
_20
"publicRead": ["items", "value"],
_20
"publicFilter": ["clientProfileData"]
_20
},
_20
"v-indexed": ["clientProfileData"]
_20
}

See also
VTEX App Store
VTEX IO Apps