File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,10 @@ public function getOptions()
23
23
/* @var $input Mage_Eav_Model_Adminhtml_System_Config_Source_Inputtype */
24
24
$ input = Mage::getModel ('eav/adminhtml_system_config_source_inputtype ' );
25
25
26
- return $ input ->toOptionArray ();
26
+ $ types = $ input ->toOptionArray ();
27
+ $ types [] = array ('value ' => 'price ' , 'label ' => Mage::helper ('pimgento_attribute ' )->__ ('Price ' ));
28
+
29
+ return $ types ;
27
30
}
28
31
29
32
}
Original file line number Diff line number Diff line change @@ -83,6 +83,12 @@ protected function _types($type)
83
83
'backend_model ' => NULL ,
84
84
'source_model ' => 'eav/entity_attribute_source_table ' ,
85
85
),
86
+ 'price ' => array (
87
+ 'backend_type ' => 'decimal ' ,
88
+ 'frontend_input ' => 'price ' ,
89
+ 'backend_model ' => 'catalog/product_attribute_backend_price ' ,
90
+ 'source_model ' => NULL ,
91
+ ),
86
92
'default ' => array (
87
93
'backend_type ' => 'varchar ' ,
88
94
'frontend_input ' => 'text ' ,
You can’t perform that action at this time.
0 commit comments