---
title: >-
  Display duties with Liquid using order.total_duties - Shopify developer
  changelog
description: >-
  Shopify’s developer changelog documents all changes to Shopify’s platform.
  Find the latest news and learn about new platform opportunities.
source_url:
  html: >-
    https://shopify.dev/changelog/display-duties-with-liquid-using-order-total_duties
  md: >-
    https://shopify.dev/changelog/display-duties-with-liquid-using-order-total_duties.md
metadata:
  effectiveApiVersion: ''
  affectedApi: []
  primaryTag:
    displayName: Themes
    handle: dev_themes
  secondaryTag:
    displayName: New
    handle: new
  indicatesActionRequired: false
  createdAt: '2022-02-18T12:07:32-05:00'
  postedAt: '2022-02-18T00:00:00-05:00'
  updatedAt: '2024-02-02T10:05:04-05:00'
  effectiveAt: '2022-02-18T00:00:00-05:00'
---

February 18, 2022

Tags:

* Themes

# Display duties with Liquid using `order.total_duties`

A new attribute (`total_duties`) is now available on the `order` object. `order.total_duties` attribute returns the sum of all duties applied to line items in the order. `order.total_duties` returns `nil` if duties are not applicable to the order.

For more information, refer to [order.total\_duties](https://shopify.dev/api/liquid/objects/order#order-total_duties).
