Skip to main content
Contributor IV
September 15, 2022
Solved

Applying discount $ to order value in a flow

  • September 15, 2022
  • 2 replies
  • 355 views

I have an interesting problem I am keen to explore with the community.

 

We are running a promotion on estimates where if the total order value is >$600, then you are eligible to a $100 discount. This offer is only available in store so we are encouraging people to take the email in store as proof of the offer (there is a technical limitation where we cannot pass a discounted value to klaviyo, only the true total). The email is included below shows the dynamic price data in a table which is pulled from our database. 

 

Is there a way I can add a new row under the ‘Grand total’ row which contains to total value - $100? So in the example below it would have the new total as $1255.77. 

 

Is this possible? Thanks!

 

    This topic has been closed for replies.
    Best answer by David To

    Hey @Nick_rackattack,

    I don’t see why you wouldn’t be able to!

    Since our template editor is based on django tags, you can use the use the |subtract variable filter to perform subtractions. 

    I’ve also previously brought this up in a similar Community post which I’ve included below:

    I hope this helps!

    David

    2 replies

    David To
    Klaviyo Employee
    David ToAnswer
    Klaviyo Employee
    September 15, 2022

    Hey @Nick_rackattack,

    I don’t see why you wouldn’t be able to!

    Since our template editor is based on django tags, you can use the use the |subtract variable filter to perform subtractions. 

    I’ve also previously brought this up in a similar Community post which I’ve included below:

    I hope this helps!

    David

    Contributor II
    February 16, 2024

    Is it possible to make these variant filters conditional on the product type?

    ie. if the product type is A, multiply price by 0.5, if the product type is B, multiply price by 0.45