Recharge Custom Discounts At Different Frequency Dates

Hey!

I am trying to add some code to allow my Recharge app to change pricing on the Recharge widget after a different frequency is selected.

Here is how I want it to work:

  • 30-Day frequency > 10% off the product (this currently works fine as Recharge allows 1 discount for all frequencies)
  • 60-Day frequency > 5%
  • 90-Day frequency > 2.5%

The issue right now is that Recharge is applying the 10% off discount to all frequencies and I only want that to happen with the 30-Day frequency.

Does anyone know of a possible workaround/code that can be implemented to make this functionality possible?

Example product on live website > https://alodiahaircare.com/products/curl-enhancing-butter-creme

Thanks in advance for your help!