Skip to main content
Question

How do handle product.relative_discount for non-subs paywalls

  • April 11, 2025
  • 1 reply
  • 12 views

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?

1 reply

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?


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