Question about price editor format

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 years ago
Good day.

nopCommerce 2.4

In the Admin area, the Product Variant editor shows price in this format:

1,234.0000

When I start editing, it shows it without any formatting:

1234

In the model I have this attribute for the Price property:


[DisplayFormat(DataFormatString = "{0:0.00}", ApplyFormatInEditMode = true)]
public decimal Price { get; set; }

The computer's national setting for number and currency is  : 1234.00

The question is: is there way to show the decimal editor in my format in focused and unfocused modes?

Thank you in advance,
Serge
12 years ago
I think, no. The admin area always uses 'en-US' culture for number formatting. BTW, there are some topics on these forums about this issue with proposed fix, but I can't find them right now
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.