Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Orders Namespace / Basket Class / GetContentHash Method / GetContentHash(Boolean,Boolean,Boolean,OrderItemType[]) Method
Whether to include user's primary address for computing hash?
Whether to include basket shipments for computing hash?
Whether to include user input fields for computing hash?
The order item types to include in the content hash.
In This Topic
    GetContentHash(Boolean,Boolean,Boolean,OrderItemType[]) Method
    In This Topic
    Generates a hash of the basket contents
    Syntax

    Parameters

    includeUserAddress
    Whether to include user's primary address for computing hash?
    includeShipments
    Whether to include basket shipments for computing hash?
    includeUserInputFields
    Whether to include user input fields for computing hash?
    args
    The order item types to include in the content hash.

    Return Value

    A hash of the basket contents
    Remarks
    Compare the hash to determine if the total price or weight of basket contents have changed between two points in time.
    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