I used Ubercart module for my shopping cart site. I want to get the cart total on the checkout page? I research on google but I can't able to find any proper help for getting the cart total.
I used below code but it returns empty.
http://api.ubercart.me/api/drupal/ubercart%21uc_cart%21uc_cart.module/function/uc_cart_block_view/7
$data = uc_cart_block_view();
print_r($data);
Please help me how can I get the cart total on check out page.