targetRemainder
is a checkout variable that displays the remainder amount needed to reach a target amount.
Example
Let’s create a heading to display the additional amount our customer needs to spend in order to qualify for free shipping.
- Create a widget and add a Heading block.
- In the title, type in a checkout variable like so: {targetRemainder,1000,usd}. 1000 usd is the total amount a customer will have to spend to qualify for free shipping.
- With each new item added to the cart, the heading will dynamically update to show the remaining amount the customer needs to spend.