commerce-cart-block.tpl.php in Commerce Core 7
Default implementation of the shopping cart block template.
Available variables:
- $contents_view: A rendered View containing the contents of the cart.
Helper variables:
- $order: The full order object for the shopping cart.
1 theme call to commerce-cart-block.tpl.php
- commerce_cart_block_view in modules/
cart/ commerce_cart.module - Implements hook_block_view().
File
modules/cart/theme/commerce-cart-block.tpl.phpView source
<?php
/**
* @file
* Default implementation of the shopping cart block template.
*
* Available variables:
* - $contents_view: A rendered View containing the contents of the cart.
*
* Helper variables:
* - $order: The full order object for the shopping cart.
*
* @see template_preprocess()
* @see template_process()
*/
?>
<div class="cart-contents">
<?php
print $contents_view;
?>
</div>