Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Services Namespace / DiscountCalculator Class / GetCategoryDiscountsForProduct Method
The product to look up
In This Topic
    GetCategoryDiscountsForProduct Method
    In This Topic
    Returns the applicable discounts linked to the product at category level
    Syntax
    protected IList<DiscountCalculator.CVDA> GetCategoryDiscountsForProduct( 
       int productId
    )

    Parameters

    productId
    The product to look up

    Return Value

    The discounts linked to the product via category association
    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