You are here

function commerce_backoffice_product_variations_view in Commerce Backoffice 7

Displays a view of products referenced from the given node, in a megarow.

1 string reference to 'commerce_backoffice_product_variations_view'
commerce_backoffice_product_menu in ./commerce_backoffice_product.module
Implements hook_menu().

File

./commerce_backoffice_product.module, line 313

Code

function commerce_backoffice_product_variations_view($node) {
  $title = t('Variations for product %title', array(
    '%title' => $node->title,
  ));
  $output = views_embed_view('commerce_backoffice_product_variations', 'default', $node->nid);
  return views_megarow_display($title, $output, $node->nid);
}