Home › Forums › Welcome! › Pre-Sales Questions › Managing currencies
- This topic has 10 replies, 3 voices, and was last updated 10 years, 3 months ago by
George.
-
AuthorPosts
-
December 1, 2015 at 6:50 am #1033212
Hugh
ParticipantHi, we operate across several regions and want to be able to offer our tickets in different currencies.
For our courses we have purchased and test the multi currency plugin https://aelia.co/shop/currency-switcher-woocommerce/
Is there any way we can offer different priced tickets – e.g. replace add to cart with a woocommerce button with price .
Thanks
Hugh
December 1, 2015 at 12:24 pm #1033397George
ParticipantHey Hugh,
There are unfortunately not features within our own “WooCommerce Tickets” add-on that would enable multi-currency support like you describe. ๐ I’m sorry to bear that news!
Does that WooCommerce extension you have handle converting the base ticket price into different currencies based on locale?
โ George
December 2, 2015 at 2:48 am #1033617Hugh
ParticipantHi George,
the plugin does convert the currencies based on locale. It uses the IP address so here is a function that can be used:/** * Uses a custom geolocation function to detect customer’s location.
* @param string country_code The country code passed by previous filters (if any).
* @return string A country code, or an empty string if the country could not be detected.
*/
add_filter(‘wc_aelia_ip2location_before_get_country_code’, function($country_code) {
// Call your custom geolocation function to set the country code
$country_code = your_custom_geolocation_function();
return $country_code;
}, 10, 1);regards
Hugh
December 2, 2015 at 12:26 pm #1034076George
ParticipantHey Hugh,
Thanks for confirming this!
In this case, I would recommend contacting the support team of that exstension specifically; “Tickets” in WooCommerce are actually just normal “Products” inside of WooCommerce, so as long as this extension converts currency accurately for other instances of the WooCommerce “products” post type, it should work with Tickets from WooCommerce Tickets.
Thank you,
GeorgeDecember 11, 2015 at 6:04 am #1039395Hugh
ParticipantHi,
We are looking at changing the price on the ticket page based on the Country using the Geo plugin.What we need though is the variable used for the currency symbol and the pricing field
So we can set a function to change it.
Can you help with this please re: the variables and any function to change
Gary
December 11, 2015 at 10:49 am #1039732George
ParticipantThank you for elaborating on this Gary; we unfortunately cannot help with implementing this customization ๐ I’m sorry to disappoint โย but custom coding projects are outside the scope of support here (check out “Product Support” on this page to learn more).
Your best option would be to contact the extension developer if this relates to a specific extension; otherwise, you could hire a professional to implement any customization you need. If it’s any help, we have a list of highly-rated customizers here for reference โ http://m.tri.be/18k1
Sincerely,
GeorgeJanuary 12, 2016 at 12:47 pm #1054807Ameet
ParticipantHello Hugh,
Did you end up finding a solution to your currency issue? We are in the same boat and would like our organizers to be able to offer tickets in their own currency, but right now everything defaults to USD. I’m curious if you were able to work in the currency switcher plugin into Event Tickets.
Cheers.January 12, 2016 at 12:59 pm #1054818George
ParticipantHey Ameet,
I’m glad to to see you reaching out to another customer here, because it’s cool to see folks working together, but I should actually close up this thread for now since it has been inactive since December 11.
Before I do that, Ameet, would you like to post your email address here or a Twitter account name or something like that, so that if Hugh sees your questions he can follow up with you elsewhere?
Apologies to want to close this thread โย I don’t mean to stifle collaboration and will thus keep this open until you can post information for Hugh to contact you with as mentioned above. But I will then close the thread just to keep things organized and timely โย we usually try to close threads after two weeks of inactivity, I’m not sure why the Support Droid did not auto-close this this thread but that is the proper action to be taken here.
Thank you,
GeorgeJanuary 12, 2016 at 1:53 pm #1054856Hugh Edwards
GuestHello – Sorry I didn’t realise there was even this post!
Yes – Check out the Aelia Currency Converter plugin. It won’t do the main currency in the events, but you can hide them and get around that – crucially it does convert the currency on all Woo Commerce products, including…the tickets. ๐
You can see this working on our site http://www.gravyforthebrain.com. Twitter is @hugh_edwards
I hope that helps! ๐
Hugh.
January 12, 2016 at 1:55 pm #1054859Ameet
ParticipantHey Hugh,
Since this thread is closing, hit me up on twitter @ameet3000 if you are able to respond. I am currently looking at the currency converter (https://www.woothemes.com/products/currency-converter-widget) widget to at least figure out how to display it in the proper currency and then do a hand off to paypal on the purchase. In any case, cheers and best.
-AmeetJanuary 13, 2016 at 9:56 am #1055417George
ParticipantThank you both for posting here and helping each other out. I wish you both the best of luck with your sites!
For now, I will close this this thread.
โย George
-
AuthorPosts
- The topic ‘Managing currencies’ is closed to new replies.
