Microcart Block

Categories

Component ID

781136

Component name

Microcart Block

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

2889

Component created

Component changed

Component body

uc_microcart provides a block that displays a cart icon, the total number of items in a cart, the cart total, and links to the cart, and that's pretty much it out of the box.

It's easily customizable by overriding the default template - just drop a microcart.tpl.php in your site's theme directory.

The variables available to the template is:


$cart_metadata = array(
'count' => $number_of_products_in_your_cart,
'total' => $total_cost_of_items_in_cart
);

Credits

by Rich Yumul of Sage Tree Solutions