Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Products Namespace / ProductVariantManager Class / HasDigitalGoodData Method
Id of the product to check digital good data for
In This Topic
    HasDigitalGoodData Method
    In This Topic
    Checks if the given product has digital good data associated with one of its variants
    Syntax
    public static bool HasDigitalGoodData( 
       int productId
    )

    Parameters

    productId
    Id of the product to check digital good data for

    Return Value

    true if product has digital good data associated to a variant, false otherwise
    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