LearnPress
How YayCurrency works with LearnPress
LearnPress is a popular Learning Management System (LMS) plugin for WordPress that allows users to create and manage online courses.
To sell courses globally and handle multiple currencies in LearnPress, YayCurrency can be integrated to provide a seamless experience.
Step 1: Set Up Default Currency for the Course
To access LearnPress dashboard, navigate to LearnPress > Settings > General tab

Scroll down and stop at the Currency section. Here you will find the options to configure and manage multiple currencies.
In the dropdown menu, choose the default currency you want to use.

You can also customize the currency position, thousand separator, decimal separator, and the number of decimal places.

When finished, click Save Changes to apply your settings.

Step 2: Create a New Course
Go to LearnPress > Courses to manage or add new courses.
In the Courses section, click on Add New.
At the top, add a title for your course.

Scroll down to the Course Settings section. Here, you can configure key details of your course.
Choose Pricing to set your course as Free or Paid. If Paid, enter the price for the course in the Regular price and Sale price (optional) field.
Additionally, in YayCurrency Pro, you can add fixed price for each currency.

Step 3: Add the Currency Switcher to Course Page
Before adding the widget, it’s essential first to configure the currencies you want to switch between.
Go to YayCommerce > YayCurrency
Click on Add New Currency button and select the currencies you wish to enable. Then click Save Changes.

You can add the YayCurrency switcher widget to your desired widget area (eg: sidebar, header, footer) by using the shortcode:
Then, hit the Publish button.
Next, at the Display Option tab, you can find and copy the shortcode [yaycurrency-switcher]

Simply paste the shortcode into the widget area of your choice, whether it's the header, footer, or sidebar.

At the front end, the currency you set will be displayed like this.

Last updated
Was this helpful?