public static ProductCalculator LoadForProduct( int productId, int quantity, string optionList, string kitList, int userId, bool calculateTax, bool calculateOneTimePrice )
Parameters
- productId
- Id of the product
- quantity
- Quantity of the product
- optionList
- List of option ids if this is a variant
- kitList
- List of the kit product Ids
- userId
- User Id
- calculateTax
- If true, also calculates the PriceWithTax property to determine
- calculateOneTimePrice
- If true, calculates one time price
Return Value
A ProductCalculator object