[ecommerce extension] Problems with prices Options
Simm
Posted: Thursday, March 08, 2007 11:58:16 AM

Rank: Fanatic

Joined: 7/22/2006
Posts: 261
Location: Randers, Denmark
Hi

When entering prices for variants in umbraco ecommerce extension, it seems like a price of 195.50 or 195,50 (depending on your currency format) is always displayed like 195. Changing localeid's doesn't help?

I've been looking at the code and is not able to find the solution to this. The price column in the database is already a varchar, so I assume it can hold any value and that the bug is to be found in the code?

Thanks in advance for your help

Simon

Best Regards
Simon

Level 0 uncertified ;)
vonlinaa
Posted: Thursday, March 08, 2007 12:51:14 PM
Rank: Aficionado

Joined: 7/23/2006
Posts: 172
Hi Simon

At the moment I don't have the source code in front of me. so I can't give you the method

I guess you are using the danish ID for the currency. e.g it works perfect with $ or £.
there's some problem with this ID I never found the answer. but it has some thing to with ',' instead of '.' in Denmark we use ',' as a decimal separator and GB and US they use '.'

My solution was to devide the price with 100 in the source. so if you want 195,50 you enter 19550 in product variants in Umbraco.

This gives huge problems with the XSLT that styles the email configuration.


Søren Linaa
Level 1 & 2 Certified Professional
Simm
Posted: Thursday, March 08, 2007 1:15:03 PM

Rank: Fanatic

Joined: 7/22/2006
Posts: 261
Location: Randers, Denmark
Hi Søren,

Thanks a lot for your quick answer :)

I will look into this problem tonight and post the fix in this thread, if I manage to solve it.

Best Regards
Simon

Level 0 uncertified ;)
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.