PRB: BizDesk: Non-English Locale Settings May Cause Unexpected Variant Price Results (298826)



The information in this article applies to:

  • Microsoft Commerce Server 2002
  • Microsoft Commerce Server 2000

This article was previously published under Q298826

SYMPTOMS

When you use the BizDesk Catalog Editor, and the system locale setting of the server is set to a locale other than English, you may notice unexpected results when you change the product variant price.

For example, if you use German locale settings for a Commerce site, a variant price value of 1,99 is saved as 199. After you reload the page, the comma in the value has been removed and 199 is displayed in BizDesk.

Note that this behavior occurs with all locales that do not use the period (.) decimal separator. The German locale uses the comma (,) decimal separator.

RESOLUTION

To resolve this problem change the following BizDesk Active Server Pages (ASP) code:
  1. In Notepad, open the Retailbizdesk\Catalogs\Editor\Edit_product.asp file.
  2. Locate the following line in the Process_SubmitEDIT function
    varPrice = variantValue(.selectSingleNode("./variant_price").text, "cy_list_price")
    					
    and replace it with the following:
    varPrice = variantValue(.selectSingleNode("./variant_price").text, CURRENCY_TYPE)
    					
  3. Save Edit_product.asp.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Modification Type:MajorLast Reviewed:10/9/2003
Keywords:kbprb KB298826