I had a problem with path breadcrumbs where I couldn't get taxonomy therms through commerce product reference. So I had to disable the path breadcrumb for the node and do it manually. I didn't want to put the code to theme, because it had to work irrelevant from it. Here is the example of altering node breadcrumbs via hook from my module in Drupal 7.
Source code viewer
function HOOK_node_view_alter(&$build) { $node = &$build['#node']; if ($build['#view_mode'] == 'full' && $node->type == 'product') { $product = commerce_product_load($node->field_product[LANGUAGE_NONE][0]['product_id']); $tid = &$product->field_category[LANGUAGE_NONE][0]['tid']; $terms = taxonomy_get_parents($tid); $breadcrumb = drupal_get_breadcrumb(); foreach ($terms as $term) { $breadcrumb[] = l($term->name, 'taxonomy/term/'.$term->tid); } } $breadcrumb[] = l($product->field_category[LANGUAGE_NONE][0]['taxonomy_term']->name, 'taxonomy/term/'.$tid); $breadcrumb[] = $node->title; drupal_set_breadcrumb($breadcrumb); } }Programming Language: PHP