Dynamicweb 8 Documentation
CustomerOrderCollection.UniqueProduct Class
Members  Example 

Class to represent an unique product of customer order collection
Syntax
'Declaration
 
Public Class CustomerOrderCollection.UniqueProduct 
public class CustomerOrderCollection.UniqueProduct 
Example
public void RenderProductList( Rendering.Template t )
{
    // Fill list with unique products
    ArrayList uniqueProducts = _orders.UniqueProducts;
    string productsHTML = "";
    foreach (Orders.CustomerOrderCollection.UniqueProduct up in uniqueProducts)
    {
    	productsHTML += "<option";
    	if (Base.Request("CCFilterProductID" + _paragraphID.ToString()) == up.ProductID)
    	{
    		productsHTML += " selected";
    	}
    	productsHTML += " value='" + up.ProductID + "'>" + up.ProductName + "</option>";
    }
    t.SetTag(Tags.Products, productsHTML);
}
Inheritance Hierarchy

System.Object
   Dynamicweb.eCommerce.Orders.CustomerOrderCollection.UniqueProduct

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CustomerOrderCollection.UniqueProduct Members
Dynamicweb.eCommerce.Orders Namespace

Send Feedback