tid ); if ( count ( $parents )) { $category_parent = array_shift ( $parents ); } ?> 704 Hockey Window Board Accessories x 9mm

704 Hockey Window Board Accessories x 9mm

More detail...

t('Home'), 'href' => url('') ), array ( 'title' => t('Products'), 'href' => url('node/'.SW_NID_SYSTEM_PRODUCTS) ), ); if ( $category ) { if ( $category_parent ) { $bc [] = array ( 'title' => $category_parent -> name, 'href' => url('taxonomy/term/'.$category_parent->tid), ); } $bc [] = array ( 'title' => $category -> name, 'href' => url('taxonomy/term/'.$category->tid), ); } $bc [] = array ( 'title' => $node -> title, 'href' => '', ); echo mytheme_render ( 'mytheme-breadcrumbs', array('bc' => $bc)); ?>

704 Hockey Window Board Accessories x 9mm

$item ) { $fci = field_collection_item_load ( $item['value'] ); $photo = field_get_items ( 'field_collection_item', $fci, 'field_image2' ); $photo = $photo ? $photo[0]['uri'] : false; $color = field_get_items ( 'field_collection_item', $fci, 'field_color' ); $color = $color ? taxonomy_term_load ( $color[0]['tid'] ) : false; $lang = field_get_items ( 'field_collection_item', $fci, 'field_language' ); $lang = $lang ? $lang[0]['value'] : LANGUAGE_NONE; if ( $lang != $language -> language && $lang != LANGUAGE_NONE ) { continue; } if ( $color ) { $c['photo'] = $photo; $c['alt'] = $color -> name; $c['tid'] = $color -> tid; $thumb = field_get_items ( 'taxonomy_term', $color, 'field_image' ); $thumb = $thumb ? $thumb[0]['uri'] : false; $c['thumb'] = $thumb; $colors[] = $c; } } if ( $element['#view_mode'] == 'slider' ) { $allowed_colors = sw_helper_get_product_item_colors ( arg(1) ); foreach ( $colors as $delta => $color ) { if ( !in_array ( $color['tid'], $allowed_colors )) { unset ( $colors[$delta] ); } } $colors = array_values ( $colors ); } ?>
    $color ): ?>

Available colours...

$color ): ?>

Filter :

No available items found

    $node ): ?>
$item ) { $fci = field_collection_item_load ( $item['value'] ); $photo = field_get_items ( 'field_collection_item', $fci, 'field_image2' ); $photo = $photo ? $photo[0]['uri'] : false; $color = field_get_items ( 'field_collection_item', $fci, 'field_color' ); $color = $color ? taxonomy_term_load ( $color[0]['tid'] ) : false; $lang = field_get_items ( 'field_collection_item', $fci, 'field_language' ); $lang = $lang ? $lang[0]['value'] : LANGUAGE_NONE; if ( $lang != $language -> language && $lang != LANGUAGE_NONE ) { continue; } if ( $color ) { $c['photo'] = $photo; $c['alt'] = $color -> name; $c['tid'] = $color -> tid; $thumb = field_get_items ( 'taxonomy_term', $color, 'field_image' ); $thumb = $thumb ? $thumb[0]['uri'] : false; $c['thumb'] = $thumb; $colors[] = $c; } } if ( $element['#view_mode'] == 'slider' ) { $allowed_colors = sw_helper_get_product_item_colors ( arg(1) ); foreach ( $colors as $delta => $color ) { if ( !in_array ( $color['tid'], $allowed_colors )) { unset ( $colors[$delta] ); } } $colors = array_values ( $colors ); } ?>
    $color ): ?>

Available colours...

$color ): ?>