# Student Registration Form - Track two different totals or subtotals (classes and reg fee)

**URL:** <https://community.gravityforms.com/t/student-registration-form-track-two-different-totals-or-subtotals-classes-and-reg-fee/12219>\
**Category:** Get Help\
**Tags:** custom, registration, coupons\
**Created:** [March 20, 2022, 9:29pm UTC](https://community.gravityforms.com/t/student-registration-form-track-two-different-totals-or-subtotals-classes-and-reg-fee/12219 "2022-03-20T21:29:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lumyser](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/lumyser/32/4890_2.png) [@lumyser](https://community.gravityforms.com/u/lumyser)\
**Post date:** [March 20, 2022, 9:29pm UTC](https://community.gravityforms.com/t/student-registration-form-track-two-different-totals-or-subtotals-classes-and-reg-fee/12219/1 "2022-03-20T21:29:12Z")

</div>

I am creating a student registration for a group of schools. I have two questions. Gravity forms and eCommerce fields.

Several classes to choose from each with different prices and options. Some have an annual registration fee.

Question: Can I track the total cost of classes selected separately from any registration fees? At the end of the registration process, I want to display two subtotals, one for classes and one for registration fees since they can pay them separately.

Question 2. Can I apply a coupon (one of several stored with different discounts) at the end of the registration that would deduct from the total (or subtotal) of the classes, but not from the registration fee?

---

<div class="post-metadata">

**Author:** ![user5c0166073a6c48.6](https://sea2.discourse-cdn.com/flex020/user_avatar/community.gravityforms.com/user5c0166073a6c48.6/32/17391_2.png) [@user5c0166073a6c48.6](https://community.gravityforms.com/u/user5c0166073a6c48.6)\
**Post date:** [March 21, 2022, 2:03am UTC](https://community.gravityforms.com/t/student-registration-form-track-two-different-totals-or-subtotals-classes-and-reg-fee/12219/2 "2022-03-21T02:03:49Z")

</div>

Yes, you can. You would want to use product fields for your classes and registration fees. Then use number fields for subtotals. (See screenshot for instructions).

 ![Screen Shot 2022-03-20 at 8.58.24 PM](https://us1.discourse-cdn.com/flex020/uploads/gravityforms1/original/2X/3/32a2faefcf9dcacf4008bb609175a896f4ee275a.jpeg)

For that kind of pricing customization, you might want to look into Gravity Wiz conditional pricing add-on.

> **[Gravity Forms Conditional Pricing | Gravity Perks | Gravity Wiz](https://gravitywiz.com/documentation/gravity-forms-conditional-pricing/)**
>
> Gravity Forms Conditional Pricing allows you to take control of your pricing and use conditional logic to dynamically set prices on products.

---

<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 20, 2022, 2:04am UTC](https://community.gravityforms.com/t/student-registration-form-track-two-different-totals-or-subtotals-classes-and-reg-fee/12219/3 "2022-04-20T02:04:39Z")

</div>

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