Comment on page

Handle Price Variants (Monthly/Yearly switch)

Lastly, dynamically change your prices' variants and volumes based on localization and selected values
Pricery makes it super easy to change your prices value (and button URLs) thanks to a few helpers.

Variants buttons to switch between plans' prices

If you offer a monthly and yearly price for each one of your prices, you need a button for visitors to switch between prices' variants. To do that, add the following data-elements to your buttons:
<a href="#" data-pricery-button="month">Monthly</a>
<a href="#" data-pricery-button="year">Monthly</a>

Specify initial values