Dynamicweb.eCommerce.Orders Namespace : CustomerOrderCollection.UniqueProduct Class |
'Declaration
Public Class CustomerOrderCollection.UniqueProduct
public class CustomerOrderCollection.UniqueProduct
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); }
System.Object
Dynamicweb.eCommerce.Orders.CustomerOrderCollection.UniqueProduct
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