- This topic has 4 replies, 2 voices, and was last updated 6 years, 4 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › eStore get secondary currency conversion rate from database
Hi,
I’m making a custom display of product and I need to retrieve from eStore the conversion rate for the second currency in order to get the price right.
How can I do this??
Thanks
You mean the value of the field that you specify in the “Conversion Rate” settings field of eStore?
Yes! that one.
Below is the PHP code that will retrieve that value.
$conversion_rate = get_option(‘eStore_secondary_currency_conversion_rate’);
Thank you! That worked