# How can I apply coupons to only certain products

**URL:** <https://community.gravityforms.com/t/how-can-i-apply-coupons-to-only-certain-products/12221>\
**Category:** Get Help\
**Tags:** registration, coupons\
**Created:** [March 21, 2022, 4:41am UTC](https://community.gravityforms.com/t/how-can-i-apply-coupons-to-only-certain-products/12221 "2022-03-21T04:41:05Z")\
**Posts on this page:** 8\
**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 21, 2022, 4:41am UTC](https://community.gravityforms.com/t/how-can-i-apply-coupons-to-only-certain-products/12221/1 "2022-03-21T04:41:05Z")

</div>

On my student registration form, I display two subtotals, one for the total cost of classes selected, and one for the total cost of the annual registration fee(s).

I want to apply discount coupons to ONLY registration fees. How can I do this?

---

<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, 4:50am UTC](https://community.gravityforms.com/t/how-can-i-apply-coupons-to-only-certain-products/12221/2 "2022-03-21T04:50:33Z")

</div>

You can check out GP eCommerce fields perk which lets you target a specific product field in your form.

Here’s the link

> **[How to Apply Discounts with Gravity Forms - Gravity Wiz](https://gravitywiz.com/apply-discounts-gravity-forms/)**
>
> Looking for a way to apply flexible discounts to your Gravity Forms submissions? This resource is for you!

---

<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 21, 2022, 4:54am UTC](https://community.gravityforms.com/t/how-can-i-apply-coupons-to-only-certain-products/12221/3 "2022-03-21T04:54:41Z")

</div>

But I am using the Coupons addon because the client has several coupon codes. And the discounts are only for annual registration fees. I have GP eCommerce fields installed.

---

<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 21, 2022, 5:18am UTC](https://community.gravityforms.com/t/how-can-i-apply-coupons-to-only-certain-products/12221/4 "2022-03-21T05:18:10Z")

</div>

I may have a workaround but hope there is a better way.

I can hide the coupon field unless there is a registration fee. Some classes require an annual fee and some don’t. It won’t show up unless there is a class with a reg fee, and then would be applied to the total amount…

But I would like to show that the coupon specifically reduced the Reg Fee subtotal.

---

<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:** [March 21, 2022, 10:54am UTC](https://community.gravityforms.com/t/how-can-i-apply-coupons-to-only-certain-products/12221/5 "2022-03-21T10:54:01Z")

</div>

The ability to apply coupons to specific products is on the feature request list for consideration by the product management team when planning future releases. You can vote for it at [Gravity Forms Roadmap - Gravity Forms](https://www.gravityforms.com/gravity-forms-roadmap/?c=28)

---

<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, 4:50pm UTC](https://community.gravityforms.com/t/how-can-i-apply-coupons-to-only-certain-products/12221/6 "2022-03-21T16:50:56Z")

</div>

It sounds like the registration fee coupon discount isn’t displaying in real time in the number field.

You can try enabling Ajax for your form to see if perhaps you can get some real time updates to the number field.

That’s just a guess and it’s untested.

If not you may need to up vote this via the roadmap and wait for GF to create this functionality as @richardw8k mentioned.

---

<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 21, 2022, 9:48pm UTC](https://community.gravityforms.com/t/how-can-i-apply-coupons-to-only-certain-products/12221/7 "2022-03-21T21:48:16Z")

</div>

Thanks, I did vote. In the meantime, I used a workaround to hide the coupon field unless there was a registration fee. Thanks for the help!

---

<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:** [March 30, 2022, 4:53pm UTC](https://community.gravityforms.com/t/how-can-i-apply-coupons-to-only-certain-products/12221/8 "2022-03-30T16:53:19Z")

</div>

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