- Bonus campaigns: when a bonus campaign is boosting the product, it also returns what the customer would normally earn, for messages like “Usually 250 points”.
Usage
Parameters
The selected variant’s price in cents, as Liquid’s
{{ variant.price }} outputs it. Optional, but makes the call faster.Example
Response
What the customer earns, including any bonus. Points in points mode (
500), or the store credit amount in store credit mode (140 for $140.00).What the customer would normally earn, without the bonus. Equal to
value when no bonus applies.true when a bonus campaign is increasing what this customer earns on this product. Use it to decide whether to show bonus messaging.