Previous in Contents Next in Contents

Page.RunProduct Method

Note  The RunProduct method is included only for backward compatibility with sites created in Commerce Server 2.0, and will be discontinued in future releases. Use the OrderExecute method of the OrderPipeline object instead of this method.

The RunProduct method runs an OrderForm through the Product Information, Merchant Information, Shopper Information, and Item Adjust Price stages of the OPP. The Item Adjust Price stage writes the adjusted price for a given item to the OrderForm item's _iadjust_currentprice member. By comparing the value of this member with the item's list_price member, you can determine whether an item is on sale.

Syntax

Page.RunProduct(OrderForm)

Parameters

OrderForm
An OrderForm object initialized with the items on which to check the current price.

Related Topics


© 1997-2000 Microsoft Corporation. All rights reserved.