Conditional Priced Duplicates in Nested Forms?

I’m using Gravity Forms with Gravity Perks Nested Forms.

In my form, the user can add products through a nested form. The nested (child) form has a Product field (type: radio buttons) with 4 product options, each with its own price.

The user can add multiple products, one per nested entry, and I want the following logic:

  • First time a product is added → full price
  • Second time and beyond (duplicates of the same product) → discounted price

So for example:

  • “Product A” = $20 the first time, then $10 for each additional
  • “Product B” = $25, then $15 for each additional, etc.

Can Conditional Pricing detect and apply different pricing for repeated products across nested entries?
Or would I need to handle this with PHP using something like gpnf_entry_pre_save?

Thanks!