Variables

For some paywalls, you might need the ability to specify variables that should be replaced with data from the product, rather than just hardcoded. To do this, you can use our variables. Here is a list of possible variables and examples of how they will be displayed for different products based on their duration.

For example, if you want to display not only the annual price for a yearly subscription but also the monthly price to show the user how much they will save by purchasing the yearly subscription, you can use the following variables:
Price: {{products.product_id.price_per_year}}. Monthly: {{products.product_id.price_per_month}}

Variable

Weekly Example

Monthly Example

2 Month Example

3 Month Example

6 Month Example

Annual Example

Lifetime Example

products.product_id.store_name

Premium

Premium

Premium

Premium

Premium

Premium

Premium

products.product_id.price

$3.99

$10.99

$19.99

$28.99

$54.99

$99.99

$199.99

products.product_id.price_raw

3.99

10.99

19.99

28.99

54.99

99.99

199.99

products.product_id.price_per_day

0.57

0.37

0.33

0.32

0.30

0.27

199.99

products.product_id.price_per_week

3.99

2.75

2.50

2.41

2.29

1.92

199.99

products.product_id.price_per_month

15.96

10.99

9.99

9.66

9.17

8.33

199.99

products.product_id.price_per_year

207.48

131.88

119.94

115.96

109.98

99.99

199.99

products.product_id.currency_symbol

$

$

$

$

$

$

$

products.product_id.currency_code

USD

USD

USD

USD

USD

USD

USD

products.product_id.period_unit

week

month

month

month

month

year

products.product_id.period_unit_count

1

1

2

3

6

1

products.product_id.periodly

weekly

monthly

2 months

3 months

6 months

annually

lifetime

products.product_id.period_iso

P1W

P1M

P2M

P3M

P6M

P1Y

products.product_id.trial_period_unit

day

week

week

week

month

month

products.product_id.trial_period_unit_count

3

1

1

1

1

1

products.product_id.intro_price

$2.99

$8.99

$17.99

$25.99

$49.99

$89.99

products.product_id.intro_period_unit

day

week

week

week

month

month

products.product_id.intro_period_unit_count

3

1

1

1

1

1