Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Taxes Namespace / TaxHelper Class / GetShopPrice Method / GetShopPrice(Decimal,Int32) Method
The price calculated for the product before tax rules are taken into account
The tax code associated with the price
In This Topic
    GetShopPrice(Decimal,Int32) Method
    In This Topic
    Gets the price that should be displayed for shopping purposes
    Syntax
    public static decimal GetShopPrice( 
       decimal price,
       int taxCodeId
    )

    Parameters

    price
    The price calculated for the product before tax rules are taken into account
    taxCodeId
    The tax code associated with the price

    Return Value

    The price that should be displayed to the current user
    Remarks
    Assumes the billing/shipping addresses as the current user billing address
    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