Shape Components
RewardBalance
Render a plain text representation of the customer's Omneo reward balance in dollars ($)
Settings | Values | Description |
---|---|---|
data-prefix | string (any) | Display value as prefix to reward balance |
data-is-inline | true false | Display Shape container as inline element if true |
PointBalance
Render a plain text representation of the customer's Omneo point balance
Settings | Values | Description |
---|---|---|
data-suffix | string (any) | Display value as suffix to point balance |
data-is-inline | true false | Display Shape container as inline element if true |
ProfileData
Render a plain text representation of a selected Omneo Profile value
Settings | Values | Description |
---|---|---|
data-key | string (any) | Displays Profile data by key. This can use dot (.) notation eg. joined_location.name or first_name |
data-prefix | true false | Display value as prefix to profile data |
data-suffix | true false | Display value as suffix to profile data |
data-is-inline | true false | Display Shape container as inline element if true |
TransactionList
Display a table displaying Omneo transaction data, including Order ID, Date, Location, Total and Items. Clicking / tapping a row will expand to display transaction line items. Transaction results are paginated to 10 results at a time, and the Shape will asynchronously fetch additional transactions as the user pages through results.
![TransactionList.20e035e1.png 1480](https://files.readme.io/637f349-TransactionList.20e035e1.png)
Settings | Values | Description |
---|---|---|
data-title | string (any) | Override default "My Transactions" Shape title. Set to false to hide title |
data-auto-hide-pagination | true false | When set to true , pagination will be hidden when all transactions are visible in one page# |
RewardList
Display a table displaying Omneo reward data, including Reward balance, names, expiry dates and remaining values. Reward results are paginated to 5 results at a time, and the Shape will asynchronously fetch additional rewards as the user pages through results.
Settings | Values | Description |
---|---|---|
data-title | string (any) false | Override default "My Transactions" Shape title. Set to false to hide title |
data-show-active-only | true false | When set to true , only currently active rewards will be displayed |
data-auto-hide-pagination | true false | When set to true , pagination will be hidden when all transactions are visible in one page |
Updated about 3 years ago