This is the API docs for LemonStand V1, which has been discontinued. LemonStand is now a cloud based platform, available at lemonstand.com.

LemonStand API

total_cart_price Twig function

Defined in /modules/shop/classes/shop_twigextension.php, lines 42-48
Author LemonStand eCommerce Inc.
float function total_cart_price(boolean $apply_discounts=true, string $cart_name='main')
$apply_discounts boolean indicates if the cart-level discounts should be applied to the result. Calculating discounts on every page could affect the front-end performance. Pass the false value to the parameter to display the cart total before discounts.
$cart_name string specifies the cart name.
{return} float returns the total price.
Returns total price of all items in the cart. Discounts are not applied to the function result. Usage example:
Cart total: {{ total_cart_price()|currency }}