Not a member of Pastebin yet?
                        Sign Up,
                        it unlocks many cool features!                    
                - /**
 - * Implements hook_theme_registry_alter().
 - */
 - function commerce_kickstart_product_ui_theme_registry_alter(&$theme_registry) {
 - $path = drupal_get_path('module', 'commerce_kickstart_product_ui') . '/theme';
 - // Only alter the template if it is not already overridden in a theme
 - // Remove commerce product label.
 - if (strpos($theme_registry['commerce_product_title']['theme path'], "themes/") == FALSE) {
 - $theme_registry['commerce_product_title']['theme path'] = $path;
 - }
 - // Remove cart block total label & add cart link on item.
 - if (strpos($theme_registry['commerce_line_item_summary']['theme path'], "themes/") == FALSE) {
 - $theme_registry['commerce_line_item_summary']['theme path'] = $path;
 - }
 - }
 
Advertisement
 
                    Add Comment                
                
                        Please, Sign In to add comment