VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: srikanthever4u on January 02, 2012, 21:39:33 PM

Title: "Custom Field Type plugin" how can implement as Plugin
Post by: srikanthever4u 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
Title: Re: "Custom Field Type plugin" how can implement as Plugin
Post by: dpodesta 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
Title: Re: "Custom Field Type plugin" how can implement as Plugin
Post by: srikanthever4u 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