Solved

Woocommerce - add order data to 'placed order'

  • 14 May 2021
  • 2 replies
  • 71 views

Badge

Hi all

 

For some reason Woocommerce and Klaviyo do not have the checkout ‘subtotal’ figure coming over.

Is there a way I can add this? 

The subtotal is the total basket excluding delivery and tax.

icon

Best answer by Dov 17 May 2021, 15:09

View original

2 replies

Badge

Thanks. I am hoping this becomes a core part of the Ordered Product event data. It seems like a very big oversight on Klaviyo’s part since you’d never receive an order confirmation email in the UK without a subtotal (before VAT). 

Userlevel 6
Badge +5

Hello @SDBradfo,

Thank you for sharing your question with the Klaviyo Community.

You are absolutely correct, a subtotal tag is not included in the WooCommerce event data, only the total as a whole, which includes tax and uses the following tag: {{ event| lookup ‘$value’ }}.This is the tag to use for now because there is no way to modify existing events i.e. Placed Order or the event’s data i.e. subtotal, in Klaviyo. With that said, I will submit a feature request to see if we can include subtotal in the WooCommerce event data in the future. 

As an alternative solution, you can send us a custom event using the Track API including the subtotal amount in the event. If you decide to pursue this solution, I recommend using our API reference guide. If you’d like assistance with this solution, I recommend looking into finding a Klaviyo partner, you can find more details on this process and the benefits of pursuing a Klaviyo partner in the post below:

 Thanks and have a great day.

Reply