Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Taxes Namespace / TaxHelper Class / GetShopPrice Method / GetShopPrice(Decimal,Int32,TaxAddress,TaxAddress) Method
The price calculated for the product before tax rules are taken into account
The tax code associated with the price
Billing address for the item, can be null for current user billing address
Shipping address for the item, can be null to use current user billing address as shipping address
In This Topic
    GetShopPrice(Decimal,Int32,TaxAddress,TaxAddress) Method
    In This Topic
    Gets the price that should be displayed for shopping purposes
    Syntax

    Parameters

    price
    The price calculated for the product before tax rules are taken into account
    taxCodeId
    The tax code associated with the price
    billingAddress
    Billing address for the item, can be null for current user billing address
    shippingAddress
    Shipping address for the item, can be null to use current user billing address as shipping address

    Return Value

    The price that should be displayed to the current user
    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