Skip to main content
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}}
VariableWeekly ExampleMonthly Example2 Month Example3 Month Example6 Month ExampleAnnual ExampleLifetime Example
products.product_id.store_namePremiumPremiumPremiumPremiumPremiumPremiumPremium
products.product_id.price$3.99$10.99$19.99$28.99$54.99$99.99$199.99
products.product_id.price_raw3.9910.9919.9928.9954.9999.99199.99
products.product_id.price_per_day0.570.370.330.320.300.27199.99
products.product_id.price_per_week3.992.752.502.412.291.92199.99
products.product_id.price_per_month15.9610.999.999.669.178.33199.99
products.product_id.price_per_year207.48131.88119.94115.96109.9899.99199.99
products.product_id.currency_symbol$$$$$$$
products.product_id.currency_codeUSDUSDUSDUSDUSDUSDUSD
products.product_id.period_unitweekmonthmonthmonthmonthyear
products.product_id.period_unit_count112361
products.product_id.periodlyweeklymonthly2 months3 months6 monthsannuallylifetime
products.product_id.period_isoP1WP1MP2MP3MP6MP1Y
products.product_id.trial_period_unitdayweekweekweekmonthmonth
products.product_id.trial_period_unit_count311111
products.product_id.intro_price$2.99$8.99$17.99$25.99$49.99$89.99
products.product_id.intro_period_unitdayweekweekweekmonthmonth
products.product_id.intro_period_unit_count311111