Commerce Server 2000 or Commerce Server 2002 does not synchronize Orderform.total_lineitems and Ordergroup.total_lineitems (286218)



The information in this article applies to:

  • Microsoft Commerce Server 2002
  • Microsoft Commerce Server 2000

This article was previously published under Q286218

SYMPTOMS

In Microsoft Commerce Server 2000 and Commerce Server 2002, Orderform.total_lineitems and Ordergroup.total_lineitems are not synchronized after an Internet customer adds an item to the basket that is subsequently removed in the pipeline by a component that sets the item.delete property to "1" in a pipeline scriptor.

CAUSE

This is only checked when an item is deleted through the Basket.asp page.

RESOLUTION

To resolve this lack of synchronization, place the following code at the bottom of the scriptor:
count = orderform.items.count
orderform.total_lineitems = count
				

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:11/17/2004
Keywords:kbprb KB286218