Tier rewards compare

Use this component to render a comparison of rewards available and their costs for each tier. If a reward is not available for a certain tier, it will render an empty cell.

Each td will have a css class indicating the tier it is a part of (numbered based on position, from 0), for example to select the reward costs in tier-0:

.lion-tier-rewards-compare__row-cell--tier-0 .lion-tier-rewards-compare__reward-cost

If customer is logged in it will attach a --current modifier to the tier that customer is currently in:

.lion-tier-rewards-compare__row-cell--current

Live preview

Code

<div data-lion-tier-rewards-compare></div>