When using the XSLT extension method CommerceLibrary:FormatCurrency() everything is fine, but not getting any thousands separator.
When i Razor using @price.Price.Value.ToCurrencyAmount() it's all fine, and perrty.
Thing is, that I'm using XSLT quite a lot, and it seems there's lack of functionality or lack of mapping the default .NET functionality to uCommerce XSLT snippets.
Is there somehow to fix it?
I'd really like to keep using native uCommerce functionality for maintenance reasons, so other .NET and XSLT extension methods not really an option!
I have updated the XSLT library to format with thousands separator.
Unfortnately the XSLT library doesn't have enough context to supply a current symbol so I'm not able to include that without breaking backwards compat in a major way.
Let me know you'd like it though and I'll look into including it with uCommerce 4 due out soon.
CommerceLibrary:FormatCurrency() thousands separator
Hey All,
Found a possible bug in software:
When using the XSLT extension method CommerceLibrary:FormatCurrency() everything is fine, but not getting any thousands separator.
When i Razor using @price.Price.Value.ToCurrencyAmount() it's all fine, and perrty.
Thing is, that I'm using XSLT quite a lot, and it seems there's lack of functionality or lack of mapping the default .NET functionality to uCommerce XSLT snippets.
Is there somehow to fix it?
I'd really like to keep using native uCommerce functionality for maintenance reasons, so other .NET and XSLT extension methods not really an option!
Hi Mads,
I have updated the XSLT library to format with thousands separator.
Unfortnately the XSLT library doesn't have enough context to supply a current symbol so I'm not able to include that without breaking backwards compat in a major way.
Let me know you'd like it though and I'll look into including it with uCommerce 4 due out soon.
The update will be included with uCommerce 3.6.3.
Sorry about the inconvenience.
Hi Søren,
Sounds as a fine solution for me :-)
Can I get a dll exposing the new extension method? I'm in a bit of a hurry!
The current symbol isn't that important to me :-)
is working on a reply...