You are here

function theme_uc_product_model in Ubercart 5

Same name and namespace in other branches
  1. 6.2 uc_product/uc_product.module \theme_uc_product_model()
  2. 7.3 uc_product/uc_product.theme.inc \theme_uc_product_model()

Format a product's model number.

2 theme calls to theme_uc_product_model()
uc_product_kit_view in uc_product_kit/uc_product_kit.module
Implementation of hook_view().
uc_product_view in uc_product/uc_product.module
Implementation of hook_view().

File

uc_product/uc_product.module, line 2300
The product module for Ubercart.

Code

function theme_uc_product_model($model, $teaser = 0, $page = 0) {
  $output = '<div class="model">';
  $output .= t('SKU: @sku', array(
    '@sku' => $model,
  ));
  $output .= '</div>';
  return $output;
}