You are here

function basic_cart_price in Basic cart 7.3

Same name and namespace in other branches
  1. 7.2 basic_cart.theme.inc \basic_cart_price()

Theme function implementation.

2 string references to 'basic_cart_price'
basic_cart_field_formatter_view in ./basic_cart.module
Implements hook_field_formatter_view().
basic_cart_theme in ./basic_cart.module
Implements hook_theme().

File

./basic_cart.theme.inc, line 12

Code

function basic_cart_price($vars) {
  $price = $vars['price'];
  $html = '<span class="basic-cart-price">' . $price . '</span>';
  return $html;
}