Variants Not Displayed When Locale Settings Not English (307450)
The information in this article applies to:
- Microsoft Commerce Server 2000
This article was previously published under Q307450 SYMPTOMS
If the locale setting on a BizDesk client uses a comma (,) instead of a period (.) as the decimal separator, the variant editor may fail to load and only a gray area may be shown.
CAUSE
A numeric overflow occurs because the comma (,) is not recognized as the decimal separator.
RESOLUTION
To resolve this problem, change the sGetVariantIDs function in the Business Desk code in the Catalogs\Editor\Edit_product.asp file to the following:
Function sGetVariantIDs()
Dim iSize
Dim sItem
Dim sItemID
Dim sColumnName
iSize = CInt(100 / (UBound(g_aPvChar) + 2))
For Each sItem In g_aPvChar
sItemID = sReplaceSpaces(sItem)
If (sItem = "variant_id2") Then
sColumnName = g_sVariantID
Else
sColumnName = sItem
End If
sGetVariantIDs = sGetVariantIDs & "<column id='" & sItemID & "' width='" & iSize & "'>" & sColumnName & "</column>"
Next
sGetVariantIDs = sGetVariantIDs & "<column id='variant_price' width='" & iSize & "'>" & L_VariantPrice_Text & "</column>"
End Function
STATUSMicrosoft has confirmed that this is a bug in Commerce Server 2000.
Modification Type: | Major | Last Reviewed: | 10/16/2002 |
---|
Keywords: | kbbug KB307450 |
---|
|