Skip to main content

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?

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