The system calculates the value of the cart and calculates the discount on this basis. For example, we have a 10% code prepared and a tag is jammed in the message, which will calculate for the customer that with the 10% code you will save 500 PLN on your abandoned cart