Jump to content

Get Cart Total in UPS Shipping Module


code-interactive

Recommended Posts

What's the best way to access the cart total in the UPS shipping module? I tried a new cart but that was giving me issues. Is there a way to retrieve it through the parameters?

 

Something like

 

public function getOrderShippingCost($params, $shipping_cost, $products = null)
 
{
 
$total = $params->totalCart;
 
...
 
Thanks in advance!
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...