Author Topic: "Custom Field Type plugin" how can implement as Plugin  (Read 3314 times)

srikanthever4u

  • Beginner
  • *
  • Posts: 7
"Custom Field Type plugin" how can implement as Plugin
« on: January 02, 2012, 21:39:33 pm »
Hello VM folks,
In Product Custom Field Tab i have created fields and working fine. but i need to change price depend on my query wise. i see option for "Custom Field Type" Plugins.

How can we implement or any one implement ..share me your sample plugin format ...


Thanks

Srikanth Goud

dpodesta

  • Beginner
  • *
  • Posts: 12
Re: "Custom Field Type plugin" how can implement as Plugin
« Reply #1 on: January 02, 2012, 22:49:45 pm »
I also would really like this, I have been trying to get the plugin working now for many hours . I've read in some posts that it is now meant to be working.

Can anyone give some definative info on this and help out if they have got it working.

I've noticed the sample data doesn't include a plugin example.

David

srikanthever4u

  • Beginner
  • *
  • Posts: 7
Re: "Custom Field Type plugin" how can implement as Plugin
« Reply #2 on: January 04, 2012, 13:19:21 pm »
Hello Friends,

Finally little bit started plugin devlopment,

Follow stockable,textinput Plugins.. you can understand plugins development.

you can adding any extra variable assign __construct method

$extraparams = array(   'pricelimit_title'=>array(0.0,'int'),'pricelimit_list'=>array(0.0,'bool'));

$this->setConfigParameterable('custom_params',$extraparams);

and same values assign in XML file

if any one know usage of modifyPrice( $product, $field,$param,$selected ) method can share me...

Thanks
Srikanth