Skip to main content
Question

Paywall v2 String Variable


Forum|alt.badge.img

I switched to V2 Paywall, I want to print “Try 7 Days Free & Subscribe” on the purchase button and I tried it like this: Try {{ product.offer_period_with_unit }} Free & Subscribe. This is not working, I want this variable to say 7 Days when monthly package is selected and 14 Days when annual package is selected.

2 replies

Forum|alt.badge.img+8
  • RevenueCat Staff
  • 509 replies
  • March 10, 2025

Hi, can you try the variable {{product.offer_period_in_days}} instead? So do “Try {{ product.offer_period_in_days }} Days Free & Subscribe”


Forum|alt.badge.img
  • Author
  • New Member
  • 2 replies
  • March 10, 2025
Haley Pace wrote:

Hi, can you try the variable {{product.offer_period_in_days}} instead? So do “Try {{ product.offer_period_in_days }} Days Free & Subscribe”

In fact, in the first example, the string I want in the editor writes the string I want, the variable does not come in the app. I also tried your suggestion but the result is the same


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