Redirect to front page after emptying the shopping cart (ubercart) How can I redirect to the front page after emptying the cart. I am making a commerce site using the Ubercart module, but it is not redirecting to the front page after the cart is empty.
You can use drupal_goto function.

drupal_goto('&lt;front&gt;');