# Order Summary Double Counting Calculated Fields in Gravity Forms

**URL:** <https://community.gravityforms.com/t/order-summary-double-counting-calculated-fields-in-gravity-forms/20083>\
**Category:** Get Help\
**Tags:** calculations, conflict\
**Created:** [February 24, 2026, 5:15am UTC](https://community.gravityforms.com/t/order-summary-double-counting-calculated-fields-in-gravity-forms/20083 "2026-02-24T05:15:45Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![usamarasheed709](https://avatars.discourse-cdn.com/v4/letter/u/71e660/32.png) [@usamarasheed709](https://community.gravityforms.com/u/usamarasheed709)\
**Post date:** [February 24, 2026, 5:15am UTC](https://community.gravityforms.com/t/order-summary-double-counting-calculated-fields-in-gravity-forms/20083/1 "2026-02-24T05:15:45Z")

</div>

​I have set up a form in Gravity with conditional logic and used Product fields to create custom Total, Transaction Fee, and Subtotal fields with formulas. The calculations are correct on the front end. However, when viewing the entry’s Order Summary, Gravity Forms automatically adds a second, duplicate Total and Subtotal field alongside my custom fields.

​How can I prevent this duplicate Total and Subtotal from displaying in the Order Summary?

---

<div class="post-metadata">

**Author:** ![david](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/david/32/2517_2.png) [@david](https://community.gravityforms.com/u/david)\
**Post date:** [February 24, 2026, 12:30pm UTC](https://community.gravityforms.com/t/order-summary-double-counting-calculated-fields-in-gravity-forms/20083/2 "2026-02-24T12:30:45Z")

</div>

If you’re using Calculated Product fields to power your custom Total, Transaction Fee, and Subtotal fields, Gravity Forms simply can’t distinguish how you’re attempting to use these fields and what they actually are: Product fields. And Gravity Forms will always calculate all Product fields on a form to get an actual Subtotal and Total for the order summary.

The trick is to use Number fields displayed as currency for anything that you don’t want to be part of the final calculated total.

 ![wand.local_wp-admin_admin.php_page=gf_edit_forms&id=134](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/3X/5/0/5054b6d6f5218ad5a5850027521520489e8b2795.png)

---

<div class="post-metadata">

**Author:** ![usamarasheed709](https://avatars.discourse-cdn.com/v4/letter/u/71e660/32.png) [@usamarasheed709](https://community.gravityforms.com/u/usamarasheed709)\
**Post date:** [February 24, 2026, 6:15pm UTC](https://community.gravityforms.com/t/order-summary-double-counting-calculated-fields-in-gravity-forms/20083/3 "2026-02-24T18:15:27Z")

</div>

I simply want the gravity form total and sub total field to be hide as i dont use it in form making all calculations are okay just it automatically add total and subtotal Which i dont want

 ![image](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/3X/5/a/5a999211e7062d6699627161e2374b4d7b90ccc1.png)

---

<div class="post-metadata">

**Author:** ![richardw8k](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/richardw8k/32/2354_2.png) [@richardw8k](https://community.gravityforms.com/u/richardw8k)\
**Post date:** [February 24, 2026, 8:43pm UTC](https://community.gravityforms.com/t/order-summary-double-counting-calculated-fields-in-gravity-forms/20083/4 "2026-02-24T20:43:50Z")

</div>

As David explained, you need to use a standard number field instead of the product field for your sub total. You’ll then be able to use the built-in total field, which will display the correct amount.

---

<div class="post-metadata">

**Author:** ![Jake\_Jackson](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/jake_jackson/32/14685_2.png) [@Jake\_Jackson](https://community.gravityforms.com/u/Jake_Jackson)\
**Post date:** [February 26, 2026, 12:19am UTC](https://community.gravityforms.com/t/order-summary-double-counting-calculated-fields-in-gravity-forms/20083/5 "2026-02-26T00:19:57Z")

</div>

I think @usamarasheed709 means that they want to modify the Order Details table shown on the Entry Details page (and in notifications), so the total fields aren’t ever shown. If that’s correct, [you’d need to use the `gform_order_summary` filter](https://docs.gravityforms.com/gform_order_summary/) to remove the `tfoot` section of the markup (maybe with `preg_replace`?).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/f/fef63f0599c45e0218c30d9f5d7ca8bff9b00189.png) [@system](https://community.gravityforms.com/u/system)\
**Post date:** [April 14, 2026, 6:23am UTC](https://community.gravityforms.com/t/order-summary-double-counting-calculated-fields-in-gravity-forms/20083/7 "2026-04-14T06:23:14Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
