I'm starting this topic so we can post the little simple things that customers expect to see in a shopping cart. Like if the cart is empty add a "Go Shopping Link" and how to configure things that will make your customers shopping experience a peace of cake.
Hopefully some of these posts will make it into a Core Ubercart release.
I will start with the easiest.
1.) In uc_cart at line # 1177
You will see
// Returns the text displayed for an empty shopping cart.
function theme_uc_empty_cart() {
return '<p>'. t('There are no products in your shopping cart.') .'</p>';
}Change to:
// Returns the text displayed for an empty shopping cart.
function theme_uc_empty_cart() {
return '<p>'. t('There are no products in your shopping cart. <a href="catalog"> <u>Go Shopping</u></a>') .'</p>';
}






Joined: 11/10/2007