- This topic has 5 replies, 2 voices, and was last updated 2 years, 7 months ago by
wensolutions.
- AuthorPosts
- June 19, 2020 at 5:37 pm #27152
k2l
ParticipantCould you please check the feasibility of adding the below:
USD instead of $ for Pricing
https://prnt.sc/sxteh6June 22, 2020 at 6:35 am #27203wensolutions
KeymasterHello @kochi2ladakhgmail-com,
Yes, you can definitely do this through the custom code.
For this, at first, you need to create and activate the child theme. To know how to create and activate the child theme, refer to below-given link:
https://wptravel.io/how-to-create-a-child-theme/
After activating the child theme in your child themes functions.php file paste below given code:
function customized_symbols( $symbols ) { $symbols['USD'] = 'USD'; return $symbols; } add_filter( 'wp_travel_currency_symbols', 'customized_symbols' );
Hope this helps.
Thank you and stay safe.
June 22, 2020 at 4:06 pm #27222k2l
Participantokay. And if the currency is INR then?
Please also add this as a Pro feature in the Currency Settings.
June 23, 2020 at 4:43 am #27234wensolutions
KeymasterHello @kochi2ladakhgmail-com,
For Indian currency, use below given block of code.
function customized_symbols( $symbols ) { $symbols['INR'] = 'INR'; return $symbols; } add_filter( 'wp_travel_currency_symbols', 'customized_symbols' )
Hope this helps.
Thank you.
June 24, 2020 at 6:44 am #27273k2l
Participantyes, thank you.
But please add this in WP Travel Pro, since this is a commonly used feature.
June 24, 2020 at 8:44 am #27282wensolutions
KeymasterHello,
Glad that we could help you.
Also, regarding adding feature, we will see if this feature can be added.
Further, we would really appreciate if you could help us by rating our plugin by following the link below:
https://wordpress.org/support/plugin/wp-travel/reviews/
If you have any queries further, let us know.
Thank you.
- AuthorPosts
- The forum ‘WP Travel Pro’ is closed to new topics and replies.