[SOLVED] ezwebin and currency translation

Author Message

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

Christophe Bourcier

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?

Christophe

Christophe Bourcier

Monday 03 August 2009 6:28:07 am

Hi,

the solution was rather simple. I just had to change the locale of the english site access to eng-GB@euro.

Christophe

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.