Gets the total.
This viper method also supports the extension viper syntax.
Syntax
Smartsite SXML | Copy Code |
---|---|
float this.totals(enum type) float this.totals(enum type, string code) |
Extension Viper Syntax
Smartsite SXML | Copy Code |
---|---|
float page.<id>.totals(enum type) float page.<id>.totals(enum type, string code) |
Parameters
Name | Data Type | Description |
---|---|---|
type | Enum |
The type.
Enum values:
|
code | String | The code. |
Return Value
Data Type | Description |
---|---|
Float | Float |
Used in
Macro | Description |
---|---|
ShoppingCart | Shopping Cart Macro. |