How to Add a Currency Switcher to Gravity Forms (Step-by-Step Guide)

Multi-Currency for Gravity Forms is a powerful plugin that enables your forms to accept payments in multiple currencies. It allows you to add a currency switcher, set different currencies for different forms, and handles all the complexities involved. This plugin is compatible with all widely used Gravity Forms add-ons.

In this guide, we’ll walk through the process of adding a currency switcher to your Gravity Forms.


Step 1: Install and Activate the Multi-Currency for Gravity Forms Plugin

1. Purchase and Download the Plugin:

  • After purchasing, download the plugin ZIP file to your computer.

2. Upload and Activate the Plugin:

  • Log in to your WordPress dashboard.
  • Navigate to Plugins > Add New.
  • Click on the Upload Plugin button at the top.
  • Choose the downloaded ZIP file and click Install Now.
  • Once installed, click Activate to activate the plugin.

Step 2: Set up the OpenExchangeRates API

To ensure that currency conversions stay up to date, the plugin can automatically fetch the latest exchange rates using the OpenExchangeRates API. Here’s how to set it up:

1. Create a Free Account on OpenExchangeRates

OpenExchangeRates API signup

2. Copy Your API Key

3. Add the API Key to Gravity Forms Settings

Add OpenExchangeRates API to Multi-currency settings
  • In your WordPress dashboard, go to Forms > Settings > Multi-currency
  • Look for the Exchange Rates section
  • Paste your OpenExchangeRates API Key into the field provided
  • Click Save Settings

Step 3: Add a Currency Switcher to Your Gravity Forms

1. Edit Your Form:

  • Navigate to Forms and select the form you want to add the currency switcher to.

2. Add the Currency Switcher Field:

Add Currency-switcher field from the Gravity Forms sidebar
  • In the form editor, you’ll find a new field called Currency Switcher under the Pricing Fields section.
  • Drag and drop the Currency Switcher field into your form at the desired location.

3. Configure the Currency Switcher Field:

Configure Currency Switcher field
  • Click on the Currency Switcher field to access its settings.
  • Customize the field label and description as needed.

4. Choose Automatic or Manual mode

  • Automatic: With the automatic currency conversion mode selected, you do not need to enter the prices of each product in different currencies. The Multi-currency for Gravity Forms addon will automatically fetch the currency conversion from the OpenExchangeRates API twice every day.
  • Manual: In Manual mode, you can enter the price of each product in each currency. If you have selected Manual.

5. Enter Manual prices (Manual mode only)

Currency switcher field: Manual mode prices
  • If you have selected manual currency mode, then click on a product field and then enter the product’s price in each currency.
  • For multi-choice product, i.e. dropdown, radio or choices, then you can click on the Multi-Currency Choices button to open the popup.
Currency Switcher field's "Multi-currency choices" button that opens a modal from where you can enter prices for each choice in all the selected currencies.

Step 4: Set Currency Per Form (Optional)

If you want a specific form to always use a particular currency:

  • Access Form Settings: In the form editor, click on Settings > Multi-currency.
Popover the opens when hovered on the Settings button in the top toolbar of Gravity Forms form editor
  • Select Form Base Currency: From the Form’s base currency dropdown, select the currency of your choice. And then click on he Save Settings button.
Form level settings of Multi-currency for Gravity forms

Step 5: Test Your Form

  1. Preview the Form: Click on the Preview button to see how the form looks with the currency switcher.
  2. Test Currency Switching:Use the currency switcher to change currencies and ensure that the form updates prices and calculations accordingly.
  3. Submit a Test Entry: Fill out the form and submit a test entry to verify that the selected currency is correctly processed and recorded.

Conclusion

Integrating a currency switcher into your Gravity Forms enhances the user experience for international customers and can boost your conversion rates. The Multi-Currency for Gravity Forms plugin allows you to add a currency switcher to your Gravity forms. It simplifies this process, offering both automatic and manual currency management options. Following the steps outlined above, you can effortlessly set up multi-currency support on your WordPress site.


Leave a Reply

Your email address will not be published. Required fields are marked *