- SmartCart.getSubtotalSettings ⇒
object Returns the subtotal settings from the SmartCart components array.
- SmartCart.subtotal ⇒
string Returns the subtotal amount to display. The subtotal is often just a formatted string, but can be returned as HTML to display a compare (discount) price
- SmartCart.subtotalLabel ⇒
string Returns the subtotal label.
- SmartCart.subtotalNumber ⇒
number Returns the subtotal number (rather than a formatted string). This is useful for calculating the subtotal for other components.
SmartCart.getSubtotalSettings ⇒ object
SmartCart.getSubtotalSettings ⇒ objectReturns the subtotal settings from the SmartCart components array.
SmartCart.subtotal ⇒ string
SmartCart.subtotal ⇒ stringReturns the subtotal amount to display. The subtotal is often just a formatted string, but can be returned as HTML to display a compare (discount) price
| Param | Type | Description |
|---|---|---|
| format | string | Currency format string |
SmartCart.subtotalLabel ⇒ string
SmartCart.subtotalLabel ⇒ stringReturns the subtotal label.
SmartCart.subtotalNumber ⇒ number
SmartCart.subtotalNumber ⇒ numberReturns the subtotal number (rather than a formatted string). This is useful for calculating the subtotal for other components.
