You can use Klaviyo's Liquid scripting language to display dynamic pricing. Here is an example Liquid code that displays a price that is 25% off the original price:
{% assign original_price = product.price %}
{% assign discount = 0.25 %}
{% assign discounted_price = original_price * (1 - discount) %}
{{ discounted_price | money }}
This code first assigns the original price of the product to a variable called "original_price." It then assigns the discount percentage to a variable called "discount." Finally, it calculates the discounted price by multiplying the original price by (1 - discount) and assigns it to a variable called "discounted_price." The final line displays the discounted price using the "money" filter to format it as a currency.