Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Sign in to follow this  
Brian_C

Access Cart SubTotal from ups.php?

Recommended Posts

How do I access $cart->show_total() from ups.php? I am trying to remove Ground when the cart is over $x.xx.

 

Thanks!


Brian Christensen

Share this post


Link to post
Share on other sites
How do I access $cart->show_total() from ups.php? I am trying to remove Ground when the cart is over $x.xx.

 

Thanks!

 

BUMP - Anyone?


Brian Christensen

Share this post


Link to post
Share on other sites

Find:

global $order;

and change to:

 

global $order, $cart;

That will give you access to $cart and functions.

Share this post


Link to post
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
Sign in to follow this  

×