I would like to know if anyone has implemented a plugin in Virtuemart for Yupick.es shipment method.
I've tried to duplicate a shipment method that we already have by changing the current XML and creating a new ZIP for plugin instalation but there are several inconformities.
For example, when we configure the parameteres in Joomla administrator page, they aren“t stored at all and all the info of the parameters is stored in the DB with the value "0" instead of something like "shipment_logos=["yupick.jpg"]|countries=["14","21","33"]|(...)"
I currently use Joomla 2.5 and Virtuemart 2.0.12f.
Does anyone have an idea?
QuoteI currently use Joomla 2.5 and Virtuemart 2.0.12f.
Does anyone have an idea?
highly unlikely.. 2.0.12f ??? 4 years old! .. total unsafe..
changed the class names? table name etc?
I'm create the plugin. In the backoffice does not save configuration.
What is the function name that saves the configuration?
function plgVmDeclarePluginParamsShipment($name, $id, &$data) {
return $this->declarePluginParams('shipment', $name, $id, $data);
}
Quote from: GJC Web Design on September 06, 2016, 15:43:26 PM
function plgVmDeclarePluginParamsShipment($name, $id, &$data) {
return $this->declarePluginParams('shipment', $name, $id, $data);
}
thanks for help,
but the parameters ( Configuration ) are not being recorded in the field (shipment_params) on table ( virtuemart_shipmentmethods )
<table_data name="perf_virtuemart_shipmentmethods">
<row>
<field name="virtuemart_shipmentmethod_id">517</field>
<field name="virtuemart_vendor_id">1</field>
<field name="shipment_jplugin_id">10071</field>
<field name="slug"></field>
<field name="shipment_element">pickme_shipping</field>
<field name="shipment_params">0</field> <field name="ordering">500</field>
<field name="shared">0</field>
<field name="published">1</field>
<field name="created_on">0000-00-00 00:00:00</field>
<field name="created_by">0</field>
<field name="modified_on">2016-09-07 16:07:03</field>
<field name="modified_by">987</field>
<field name="locked_on">0000-00-00 00:00:00</field>
<field name="locked_by">0</field>
</row>
</table_data>