Currency (amount) selector | WordPress.org

[ad_1]

OK, I was able to figure this out. Here is what I did, in case anyone has the same issue at some point:

I just created a Radio button control, with all my Membership Levels, each option has a numeric value, which is the cost. I marked this control in the options to be able to participate in calculations.

Then, instead of having a “Currency” field, I replaced it by a “Calculation” one, which I also marked as a hidden field. In the calculation section, I simply used the variable name of the Radio button as the value (nothing else).

This way, whatever is selected in the radio button, will have a value which will be used as a calculation for the calculation field.

Then in the Paypal section, you can use the Custom value and link it to the “Calculation” field (it accepts either “Calculation” field or “Currency”).

That’s it!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer