WordPress.org

Plugin Directory

Changeset 568696


Ignore:
Timestamp:
07/07/12 16:13:36 (22 months ago)
Author:
wpsmith
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • shopp-importer/trunk/settings.php

    r568597 r568696  
    259259                    $output .= "<option value='spec' ".('spec'==$catskin_importer_type?'selected="selected"':'').">Spec [Text]</option>";  
    260260                    $output .= "<option value='weight' ".('weight'==$catskin_importer_type?'selected="selected"':'').">Weight [Text]</option>"; 
     261                     
     262                    $taxonomies = get_object_taxonomies(Product::$posttype, 'names');                
     263                    if ( ! empty( $taxonomies ) ) { 
     264                        $output .= "<option value='custom_tax' ".('custom_tax'==$catskin_importer_type?'selected="selected"':'').">Custom Taxonomy</option>"; 
     265                    } 
    261266                    $output .= "</select>";      
    262267                    $output .= "<input type='text' class='catskin_variation_group_editor' id='catskin_importer_column_map_group_{$column_number}' name='settings[catskin_importer_column_map][{$column_number}][group]' value='".$existing_map[$column_number]['group']."'  style='display:none;'  onchange='javascript:update_required();'/><label for='settings[catskin_importer_column_map][{$column_number}][group]' style='display:none;'>Variation Group</label>"; 
Note: See TracChangeset for help on using the changeset viewer.