Get cart total value (including all tax,shipping,coupon etc)

Started by dave111, May 23, 2013, 16:20:32 PM

Previous topic - Next topic

dave111

I'm writing a payment module where I need to be able to get the cart total, include all the product, shipping, tax, coupons (the value that is shown in the bottom "Total: " field at the checkout)

I need to be able to access this value from within the "renderPluginName()" function in my payment module.

I believe this value should be listed under, however billTotal is not set:

$cart = VirtueMartCart::getCart();
echo $cart->pricesUnformatted['billTotal'];

sotoz

I have the same problem. Is there a solution on getting the total value of the cart in a variable in someway?