Multi currency display

More
14 years 5 months ago #5853 by Slim
Multi currency display was created by Slim
I would like to create events for both our UK and US operations - my issue is finding out how to get our pricing to display as $ not £ based on criteria.

In our case this would be by location the event takes place in - but more than happy to create duplicate events or categories if that's what it takes.

Is there a simple way of acheiving this ? - otherwise is there a way of amending the underlying code?

Thanks

Please Log in or Create an account to join the conversation.

More
14 years 5 months ago #5903 by Slim
Replied by Slim on topic Re: Multi currency display
Ok - well solved this myself, amended the payment templates, display templates and emails to look at location id and if the event is US based to use a $ symbol.

I imagine you could make this a lot slicker by extending the location information to include a currency symbol, and conversion but my fix is sufficient for our needs.

Alternatively, you could add an extra field and pick that up instead of the standard selling price depending on the language chosen. All options for what i guess could be a complex topic.

The areas I amended were:

emailtemplates/group_detail
emailtemplates/individual_detail
views/register/tmpl/group_booking.php
views/register/tmpl/default.php
" /category/" "
" /confirmation/ " "
" /event/ " "


I also had to change the currency sent to the payment gateways;

/payment/os_paypay.php etc...

There are more elegant solutions, but this was fairly quick and low risk.

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc