Skip to main content
Question

How do handle product.relative_discount for non-subs paywalls


Forum|alt.badge.img+4

I’m using the new beta paywalls. How do I get {{ product.relative_discount }} to render correctly for paywalls showing non-subscription packages? This question... 

indicates that this doesn’t seem to be supported? Surely this isn’t the case? Showing relative discounts is a pretty big deal for any paywall with multiple packages. 

Can someone point me in the correct direction to resolve this?

2 replies

Forum|alt.badge.img+4
  • Author
  • New Member
  • 3 replies
  • April 11, 2025

Is there a way we can do maths within the liquid template against a specific package’s price? We already know which packages are listed in the paywall, so we could reference them some way that makes sense to us and and apply the necessary maths to calc the relative discount?


Forum|alt.badge.img+8
  • RevenueCat Staff
  • 586 replies
  • May 22, 2025

Hi, at this time it is not possible to use product.relative_discount for non-subscription products nor edit this onto our paywalls v2 but I have passed this along to the team as feedback. 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings