Skip navigation
Help

theme_uc_product_kit_add_to_cart

6 uc_product_kit.module theme_uc_product_kit_add_to_cart($node)
7 uc_product_kit.theme.inc theme_uc_product_kit_add_to_cart($variables)

Wraps the "Add to Cart" form in a <div>.

Related topics

File

ubercart/uc_product_kit/uc_product_kit.theme.inc, line 71
Theme functions for the uc_product_kit module.

Code

function theme_uc_product_kit_add_to_cart($variables) {
  $form = $variables['form'];

  $output = '<div class="add-to-cart" title="' . t('Click to add to cart.') . '">';
  $output .= drupal_render($form);
  $output .= '</div>';

  return $output;
}