| Project: | Ubercart Contributions |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Hi,
Could the "There are no products in your shopping cart" message be moved to a themeable function? I would like to change this so that it displays some custom links back to the shopping section of my site, but right now I don't see a way of doing this without hacking it.
I think it should be as easy as changing a line in uc_cart_view() from:
return '<p>'. t('There are no products in your shopping cart.') . '</p>';to:
return theme('uc_empty_cart');and
function theme_uc_empty_cart() {
return '<p>'. t('There are no products in your shopping cart.') . '</p>';
}Best,
Xerxes

