# Liquid variable \`order.total\_price\` field includes removed shipping fee after order edit

**URL:** <https://community.shopify.dev/t/liquid-variable-order-total-price-field-includes-removed-shipping-fee-after-order-edit/38522>\
**Category:** Online Store and Theme Development\
**Tags:** liquid\
**Created:** [October 12, 2026, 2:32am UTC](https://community.shopify.dev/t/liquid-variable-order-total-price-field-includes-removed-shipping-fee-after-order-edit/38522 "2026-10-12T02:32:53Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Loqfrze](https://avatars.discourse-cdn.com/v4/letter/l/8baadc/32.png) [@Loqfrze](https://community.shopify.dev/u/Loqfrze)\
**Post date:** [October 12, 2026, 2:32am UTC](https://community.shopify.dev/t/liquid-variable-order-total-price-field-includes-removed-shipping-fee-after-order-edit/38522/1 "2026-10-12T02:32:53Z")

</div>

### Short description of issue

The field `order.total_price` includes removed shipping fee after order edit

### Link to Shopify Store

> **[lofz-nxt](https://lofz-nxt.myshopify.com/password)**

### Reproduction steps

1. Place an order with shipping price
2. In the order management, edit order → remove existing shipping price → add new shipping price
3. On the store front, the liquid variable `order.total_price` is higher than the actual price in order admin page. The gap amount contains the removed shipping price

### Additional info

The `order.tax_price` is calculated mis-match between admin and liquid

### What type of topic is this

Bug report

### Upload screenshot(s) of issue

 ![example.jpg](https://global.discourse-cdn.com/shopifycommunity/original/3X/a/b/abbea2c06e1933637f3e09f467a7cd5ff669648d.jpeg)

---

<div class="post-metadata">

**Author:** ![Donal-Shopify](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/donal-shopify/32/10850_2.png) [@Donal-Shopify](https://community.shopify.dev/u/Donal-Shopify)\
**Post date:** [October 12, 2026, 11:38am UTC](https://community.shopify.dev/t/liquid-variable-order-total-price-field-includes-removed-shipping-fee-after-order-edit/38522/2 "2026-10-12T11:38:00Z")

</div>

Hi @Loqfrze! Thanks for the write-up and screenshot. The side-by-side admin versus storefront comparison is useful.

The gap in your screenshot (86,513 versus 43,513 VND) exactly matches the shipping line still shown. To pin down where it comes from, it would help to see

- the Liquid snippet that renders the storefront grand total, since I can’t tell from the image whether it’s a raw `{{ order.total_price }}` output or something the theme computes
- the raw values of `order.total_price`, `order.total_net_amount`, and `order.total_refunded_amount` for that same order (`total_net_amount` is [documented](https://shopify.dev/docs/api/liquid/objects/order) as `total_price` minus refunded amounts, so those numbers will show whether the theme’s math or the raw field is off)
- which shipping amount was removed during the edit and what it was replaced with

For the tax mismatch, the screenshot shows 0 tax on the storefront side. Could you also share a sanitized expected-versus-actual example from where you’re seeing the difference?

---

<div class="post-metadata">

**Author:** ![Loqfrze](https://avatars.discourse-cdn.com/v4/letter/l/8baadc/32.png) [@Loqfrze](https://community.shopify.dev/u/Loqfrze)\
**Post date:** [October 13, 2026, 1:40am UTC](https://community.shopify.dev/t/liquid-variable-order-total-price-field-includes-removed-shipping-fee-after-order-edit/38522/3 "2026-10-13T01:40:57Z")

</div>

Hi @Donal-Shopify , thanks for your response.

Sorry I put the wrong field name on the screenshot, the actual field I highlight is **order.total\_net\_amount**

The scenario was follow:

1. The initial shipping fee is: `530,000` VND → original net payment is `order.subtotal + order.shipping_price = 513 + 530,000 = 530,513`

2. Then I remove the original shipping fee and add a new one with value `43,000` VND. At this point the the `order.total_price` is expect `513 + 43,000 = 43,513`

however, the value of **order.total\_price** in liquid theme is `573,513,00 = 530,000 + 43,000 + 513` resulting the `order.total_net_amount = order.total_price - order.total_refunded_amount = 573,513,00 - 487,000 = 86,513`

The attached bellow show the value of order from liquid theme in the console area

 ![image](https://global.discourse-cdn.com/shopifycommunity/original/3X/c/2/c261b938bda618d3ea056eb86aef90238733c840.jpeg)

---

<div class="post-metadata">

**Author:** ![Donal-Shopify](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/donal-shopify/32/10850_2.png) [@Donal-Shopify](https://community.shopify.dev/u/Donal-Shopify)\
**Post date:** [October 13, 2026, 7:47am UTC](https://community.shopify.dev/t/liquid-variable-order-total-price-field-includes-removed-shipping-fee-after-order-edit/38522/4 "2026-10-13T07:47:44Z")

</div>

Thanks for clarifying @Loqfrze! Your figures are consistent with `order.total_price` behaving as a cumulative sold total rather than the current active order price. The original shipping sale stays in that history and the replacement shipping is added on top, so 530,513 + 43,000 = 573,513 VND. The removal is recorded as a separate adjustment rather than erasing the original shipping sale, which is why the old fee still shows up even though the shipping line is inactive.

The [order.total\_net\_amount](https://shopify.dev/docs/api/liquid/objects/order#order-total_net_amount) field is defined as `order.total_price` minus `order.total_refunded_amount`, so 573,513 - 487,000 = 86,513 VND. The admin’s net payment figure is a different calculation (530,513 - 487,000 = 43,513), which is why the two screens disagree. The 43,000 VND gap is the replacement shipping sitting in the sold total.

For the `order.tax_price` report, can you share a nonzero expected versus actual example? The screenshots so far show zero tax, so there is nothing to compare yet. Thanks!

---

<div class="post-metadata">

**Author:** ![Sophia\_24](https://avatars.discourse-cdn.com/v4/letter/s/cab0a1/32.png) [@Sophia\_24](https://community.shopify.dev/u/Sophia_24)\
**Post date:** [October 13, 2026, 8:04am UTC](https://community.shopify.dev/t/liquid-variable-order-total-price-field-includes-removed-shipping-fee-after-order-edit/38522/5 "2026-10-13T08:04:36Z")

</div>

Hey @Loqfrze, that split is by design, not a bug. `order.total_price` is the original order total as placed, and Shopify exposes post-edit values through the `current_*` fields instead. Swap your snippet to `order.current_total_price` and `order.current_total_tax` (same for `current_subtotal_price`) and the storefront will match what admin shows. The Admin API mirrors this: GraphQL `Order.totalPriceSet` versus `currentTotalPriceSet`. If `current_total_price` is still inflated by the removed shipping line on that order, send the order ID to Shopify support.

---

<div class="post-metadata">

**Author:** ![Loqfrze](https://avatars.discourse-cdn.com/v4/letter/l/8baadc/32.png) [@Loqfrze](https://community.shopify.dev/u/Loqfrze)\
**Post date:** [October 14, 2026, 2:40am UTC](https://community.shopify.dev/t/liquid-variable-order-total-price-field-includes-removed-shipping-fee-after-order-edit/38522/7 "2026-10-14T02:40:49Z")

</div>

Hi @Donal-Shopify , thanks for clarifying that `order.total_price` represents the original order total and that this behavior is by design.

I’m also providing another example related to the tax mismatch that I mentioned in the original report.

 ![image](https://global.discourse-cdn.com/shopifycommunity/original/3X/f/a/fac02be87c2048bdacfff1cb4b7fee8630865848.png)

In this scenario:

- Product price: **$100.00**
- Original shipping method (Express): **$15.00**
- Order edit:
  - Removed shipping: **$15.00**
  - Added new shipping fee: **$20.00**

The Shopify Admin shows:

- Shipping: **$20.00**
- Tax: **$7.85** (Florida State Tax $6.73 + Miami Dade County Tax $1.12)
- Total: **$120.00**

However, on the storefront, the Liquid order object returns:

- `order.shipping_price` = **$20.00**
- `order.tax_price` = **$8.83**
- `order.total_net_amount` = **$135.00**

This is what I am trying to understand. The `order.tax_price` value does not appear to match the tax shown in Admin for the edited order. Could you clarify how `order.tax_price` is calculated after an order edit involving shipping changes?

Also, more generally, if `order.total_price` is intentionally the original order total and the Admin UI displays the current edited order values, which Liquid order fields should theme developers use to display values that match what merchants see in the Shopify Admin?

Specifically, is there a Liquid equivalent for the current order values shown in Admin (similar to `currentTotalPrice` / `currentTotalTax` in the Admin API), or what is the recommended way to display:

- Current order total
- Current tax amount
- Current shipping amount

so that the customer-facing order page matches the values displayed in Shopify Admin after an order edit?

---

<div class="post-metadata">

**Author:** ![Loqfrze](https://avatars.discourse-cdn.com/v4/letter/l/8baadc/32.png) [@Loqfrze](https://community.shopify.dev/u/Loqfrze)\
**Post date:** [October 14, 2026, 2:43am UTC](https://community.shopify.dev/t/liquid-variable-order-total-price-field-includes-removed-shipping-fee-after-order-edit/38522/8 "2026-10-14T02:43:57Z")

</div>

thanks for your response, however adding the prefix `current_*` does not work for my case, according to the document [Liquid objects: order](https://shopify.dev/docs/api/liquid/objects/order) it does not mention that

---

<div class="post-metadata">

**Author:** ![Loqfrze](https://avatars.discourse-cdn.com/v4/letter/l/8baadc/32.png) [@Loqfrze](https://community.shopify.dev/u/Loqfrze)\
**Post date:** [October 19, 2026, 2:23am UTC](https://community.shopify.dev/t/liquid-variable-order-total-price-field-includes-removed-shipping-fee-after-order-edit/38522/9 "2026-10-19T02:23:12Z")

</div>

hi @Donal-Shopify , just a friendly reminder regarding this issue. Could you please let me know if there are any updates or progress on the investigation?

---

<div class="post-metadata">

**Author:** ![Donal-Shopify](https://sea1.discourse-cdn.com/shopifycommunity/user_avatar/community.shopify.dev/donal-shopify/32/10850_2.png) [@Donal-Shopify](https://community.shopify.dev/u/Donal-Shopify)\
**Post date:** [October 19, 2026, 8:08am UTC](https://community.shopify.dev/t/liquid-variable-order-total-price-field-includes-removed-shipping-fee-after-order-edit/38522/10 "2026-10-19T08:08:49Z")

</div>

Thanks for the worked example @Loqfrze!

Both figures are consistent with your 6% + 1% tax being _included_ in the prices. At 7% embedded, tax on $120 is $7.85 and tax on $135 is $8.83, so the $0.98 gap matches the embedded tax on the removed $15 shipping. This doesn’t look like tax charged twice. The storefront figure is consistent with a base that still includes the original shipping amount, while admin shows the current base. Your first example fits the same pattern where the total behaves like the cumulative sold total from my earlier reply, where removals are recorded as separate adjustments rather than subtracted from the total.

For replacements, you’re right that `order.current_total_price` / `current_total_tax` don’t resolve. They’re not part of the documented [order object](https://shopify.dev/docs/api/liquid/objects/order), so that suggestion isn’t usable. For shipping, `order.shipping_price` reads the active shipping amount, which in your example is the current $20. If you ever discount shipping, [`shipping_method.price_with_discounts`](https://shopify.dev/docs/api/liquid/objects/shipping_method) is the discount-aware variant. For exact current total and tax from Liquid there’s no drop-in field today. The supported route is fetching [`currentTotalPriceSet` / `currentTotalTaxSet`](https://shopify.dev/docs/api/admin-graphql/2026-10/objects/Order) through a small backend you control, since a theme can’t safely hold Admin API credentials. A native way to show post-edit totals directly in Liquid would be a welcome addition, and this thread is useful feedback for the team to consider.

Sorry for the wait on this one, let me know if there’s anything else I can do to help!
