Solved

Applying discount $ to order value in a flow

  • 15 September 2022
  • 2 replies
  • 133 views

Badge +2

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!

 

icon

Best answer by David To 15 September 2022, 23:02

View original

2 replies

Userlevel 7
Badge +60

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

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

Reply