Forums / Setup & design / [SOLVED] ezwebin and currency translation
Christophe Bourcier
Tuesday 21 July 2009 12:24:45 am
Hi,
I'm using ezwebin to build an e-commerce solution.
All my prices are in euros, but when I switch the language to English, the currency symbol changes to pound sterling, with the same price number. See an example here:http://now.ezpublish.no/fre/Products
In the admin interface, I have inactivated all currencies but euros.
Is there a way to tell ezpublish to not translate prices or do I have to hack lib/eztemplate/classes/eztemplatelocaleoperator.php ?
Thanks
Christophe
Max Keil
Tuesday 21 July 2009 4:08:23 pm
Hi Christophe,
replace your "price"-attribute in the product class with "multiprice". I've tested it on our ezwebin - and it works.
Mit freundlichen Grüßen Best regards Max Keil ____________________________________________________________ eZ Publish Gold Partner - http://www.all2e.com http://ez.no/partners/worldwide_partners/all2e_gmbh
Wednesday 22 July 2009 1:45:06 am
Hi Max,
Thanks for your reply.
In the administration interface, to change the attribute type, I have to delete the old attribute and create a new one, so I will lose all the prices I have already entered.
How can I change the attribute type without losing all the prices I have already entered?
Monday 03 August 2009 6:28:07 am
the solution was rather simple. I just had to change the locale of the english site access to eng-GB@euro.