Changeset View
Changeset View
Standalone View
Standalone View
modules/in-commerce/units/products/products_config.php
Show First 20 Lines • Show All 589 Lines • ▼ Show 20 Line(s) | |||||
'CategoryFormat' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_MixedCategoryPath', 2 => 'la_SeparatedCategoryPath'), 'use_phrases' => 1, 'default' => 1), | 'CategoryFormat' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_MixedCategoryPath', 2 => 'la_SeparatedCategoryPath'), 'use_phrases' => 1, 'default' => 1), | ||||
'CategorySeparator' => Array ('type' => 'string', 'default' => ':'), | 'CategorySeparator' => Array ('type' => 'string', 'default' => ':'), | ||||
'IsBaseCategory' => Array ( | 'IsBaseCategory' => Array ( | ||||
'type' => 'int', | 'type' => 'int', | ||||
'formatter' => 'kOptionsFormatter', | 'formatter' => 'kOptionsFormatter', | ||||
'options' => Array (0 => 'la_No', 1 => 'la_Yes'), | 'options' => Array (0 => 'la_No', 1 => 'la_Yes'), | ||||
'use_phrases' => 1, 'default' => 0, | 'use_phrases' => 1, 'default' => 0, | ||||
), | ), | ||||
'ExportPresets' => array( | |||||
'type' => 'string', | |||||
'formatter' => 'kOptionsFormatter', 'options' => array(), | |||||
'default' => '', | |||||
), | |||||
'ExportSavePreset' => array( | |||||
'type' => 'int', | |||||
'formatter' => 'kOptionsFormatter', | |||||
'options' => array(0 => 'la_No', 1 => 'la_Yes'), | |||||
'use_phrases' => 1, 'default' => 0, | |||||
), | |||||
'ExportPresetName' => array('type' => 'string', 'default' => ''), | |||||
// export related fields: end | // export related fields: end | ||||
// import related fields: begin | // import related fields: begin | ||||
'FieldTitles' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_Automatic', 2 => 'la_Manual'), 'use_phrases' => 1, 'default' => 1), | 'FieldTitles' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_Automatic', 2 => 'la_Manual'), 'use_phrases' => 1, 'default' => 1), | ||||
'ImportSource' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_Upload', 2 => 'la_Local'), 'use_phrases' => 1, 'default' => 2), | 'ImportSource' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_Upload', 2 => 'la_Local'), 'use_phrases' => 1, 'default' => 2), | ||||
'ImportFilename' => Array ('type' => 'string', 'formatter' => 'kUploadFormatter', 'max_size' => MAX_UPLOAD_SIZE, 'upload_dir' => EXPORT_BASE_PATH . '/', 'default' => ''), | 'ImportFilename' => Array ('type' => 'string', 'formatter' => 'kUploadFormatter', 'max_size' => MAX_UPLOAD_SIZE, 'upload_dir' => EXPORT_BASE_PATH . '/', 'default' => ''), | ||||
'ImportLocalFilename' => Array ('type' => 'string', 'formatter' => 'kOptionsFormatter', 'default' => ''), | 'ImportLocalFilename' => Array ('type' => 'string', 'formatter' => 'kOptionsFormatter', 'default' => ''), | ||||
'CheckDuplicatesMethod' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_IDField', 2 => 'la_OtherFields'), 'use_phrases' => 1, 'default' => 1), | 'CheckDuplicatesMethod' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_IDField', 2 => 'la_OtherFields'), 'use_phrases' => 1, 'default' => 1), | ||||
Show All 18 Lines | |||||
'AltName' => Array ('type' => 'string', 'default' => ''), | 'AltName' => Array ('type' => 'string', 'default' => ''), | ||||
'SameImages' => Array ('type' => 'string', 'default' => ''), | 'SameImages' => Array ('type' => 'string', 'default' => ''), | ||||
'LocalThumb' => Array ('type' => 'string', 'default' => ''), | 'LocalThumb' => Array ('type' => 'string', 'default' => ''), | ||||
'ThumbPath' => Array ('type' => 'string', 'default' => ''), | 'ThumbPath' => Array ('type' => 'string', 'default' => ''), | ||||
'ThumbUrl' => Array ('type' => 'string', 'default' => ''), | 'ThumbUrl' => Array ('type' => 'string', 'default' => ''), | ||||
'LocalImage' => Array ('type' => 'string', 'default' => ''), | 'LocalImage' => Array ('type' => 'string', 'default' => ''), | ||||
'LocalPath' => Array ('type' => 'string', 'default' => ''), | 'LocalPath' => Array ('type' => 'string', 'default' => ''), | ||||
'FullUrl' => Array ('type' => 'string', 'default' => ''), | 'FullUrl' => Array ('type' => 'string', 'default' => ''), | ||||
), | ), | ||||
'Grids' => Array ( | 'Grids' => Array ( | ||||
'Default' => Array ( | 'Default' => Array ( | ||||
'Icons' => Array ( | 'Icons' => Array ( | ||||
'default' => 'icon16_product.png', | 'default' => 'icon16_product.png', | ||||
0 => 'icon16_product_disabled.png', | 0 => 'icon16_product_disabled.png', | ||||
1 => 'icon16_product.png', | 1 => 'icon16_product.png', | ||||
2 => 'icon16_product_pending.png', | 2 => 'icon16_product_pending.png', | ||||
'NEW' => 'icon16_product_new.png', | 'NEW' => 'icon16_product_new.png', | ||||
), | ), | ||||
'Fields' => Array ( | 'Fields' => Array ( | ||||
'ProductId' => Array ( 'title' => 'column:la_fld_Id', 'data_block' => 'grid_checkbox_td', 'filter_block' => 'grid_range_filter', 'width' => 60, ), | 'ProductId' => Array ( 'title' => 'column:la_fld_Id', 'data_block' => 'grid_checkbox_td', 'filter_block' => 'grid_range_filter', 'width' => 60, ), | ||||
'SKU' => Array ( 'title' => 'la_col_ProductSKU', 'filter_block' => 'grid_like_filter', 'width' => 100, ), | 'SKU' => Array ( 'title' => 'la_col_ProductSKU', 'filter_block' => 'grid_like_filter', 'width' => 100, ), | ||||
alex: Please add fields after existing export related fields, instead of creating new field group.
P. | |||||
'Name' => Array ( 'title' => 'la_col_ProductName', 'data_block' => 'grid_catitem_td', 'filter_block' => 'grid_like_filter', 'width' => 150, ), | 'Name' => Array ( 'title' => 'la_col_ProductName', 'data_block' => 'grid_catitem_td', 'filter_block' => 'grid_like_filter', 'width' => 150, ), | ||||
'Priority' => Array ('filter_block' => 'grid_range_filter', 'width' => 65), | 'Priority' => Array ('filter_block' => 'grid_range_filter', 'width' => 65), | ||||
'Type' => Array ('title' => 'column:la_fld_ProductType', 'filter_block' => 'grid_options_filter', 'width' => 80, ), | 'Type' => Array ('title' => 'column:la_fld_ProductType', 'filter_block' => 'grid_options_filter', 'width' => 80, ), | ||||
'Manufacturer' => Array ('filter_block' => 'grid_like_filter', 'width' => 100, ), | 'Manufacturer' => Array ('filter_block' => 'grid_like_filter', 'width' => 100, ), | ||||
'Price' => Array ('filter_block' => 'grid_range_filter', 'width' => 70, ), | 'Price' => Array ('filter_block' => 'grid_range_filter', 'width' => 70, ), | ||||
'Status' => Array ('filter_block' => 'grid_options_filter', 'width' => 70, ), | 'Status' => Array ('filter_block' => 'grid_options_filter', 'width' => 70, ), | ||||
'QtyInStock' => Array ('title' => 'column:la_fld_Qty', 'data_block' => 'qty_td', 'filter_block' => 'grid_range_filter', 'width' => 80, ), | 'QtyInStock' => Array ('title' => 'column:la_fld_Qty', 'data_block' => 'qty_td', 'filter_block' => 'grid_range_filter', 'width' => 80, ), | ||||
'QtyBackOrdered' => Array ('title' => 'column:la_fld_QtyBackOrdered', 'filter_block' => 'grid_range_filter', 'width' => 80, ), | 'QtyBackOrdered' => Array ('title' => 'column:la_fld_QtyBackOrdered', 'filter_block' => 'grid_range_filter', 'width' => 80, ), | ||||
▲ Show 20 Lines • Show All 45 Lines • Show Last 20 Lines |
Please add fields after existing export related fields, instead of creating new field group.
P.S.
This is how it was done in the orders_config.php file from where you've copied fields originally.