Benutzer-Werkzeuge

Webseiten-Werkzeuge


vm21_extension_upgrade

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Nächste ÜberarbeitungBeide Seiten der Revision
vm21_extension_upgrade [2014/01/19 16:42] – [section 1] reinholdvm21_extension_upgrade [2014/01/19 16:44] – [Updating VM 2.0 plugins / modules / extensions to VM 2.1: -> My extensions and their update status;] reinhold
Zeile 26: Zeile 26:
  return $this->declarePluginParams('custom', $name, $id, $data);  return $this->declarePluginParams('custom', $name, $id, $data);
  }  }
 +  
  function plgVmSetOnTablePluginParamsCustom($name, $id, &$table){  function plgVmSetOnTablePluginParamsCustom($name, $id, &$table){
  return $this->setOnTablePluginParams($name, $id, $table);  return $this->setOnTablePluginParams($name, $id, $table);
Zeile 32: Zeile 32:
  
 TO: TO:
 +<code>
   function plgVmDeclarePluginParamsCustom(&$data){   function plgVmDeclarePluginParamsCustom(&$data){
   return $this->declarePluginParams('custom', $data);   return $this->declarePluginParams('custom', $data);
Zeile 39: Zeile 40:
   return $this->setOnTablePluginParams($name, $id, $table);   return $this->setOnTablePluginParams($name, $id, $table);
   }   }
 +</code>
  
 ----  ---- 
Zeile 103: Zeile 104:
   * -) plgVmOnDisplayProductVariantFE seems to be changed to plgVmOnDisplayProductFE   * -) plgVmOnDisplayProductVariantFE seems to be changed to plgVmOnDisplayProductFE
   * -) plgVmOnViewCart: Change foreach loop to   * -) plgVmOnViewCart: Change foreach loop to
-  * foreach($product->customProductData[$productCustom->virtuemart_custom_id][$productCustom->virtuemart_customfield_id] as $name => $value)+<code>    foreach($product->customProductData[$productCustom->virtuemart_custom_id][$productCustom->virtuemart_customfield_id] as $name => $value)</code>
   * -) plgVmDisplayInOrderBE: Need to assign $item->productCustom = $productCustom;   * -) plgVmDisplayInOrderBE: Need to assign $item->productCustom = $productCustom;
   * -) plgVmDisplayInOrderFE: Need to assign $item->productCustom = $productCustom;   * -) plgVmDisplayInOrderFE: Need to assign $item->productCustom = $productCustom;
   * -) New trigger? plgVmGetTablePluginParams   * -) New trigger? plgVmGetTablePluginParams
   * -) plgVmCalculateCustomVariant: use $modificatorSum instead of $productCustomsPrice->custom_price to set the price modification   * -) plgVmCalculateCustomVariant: use $modificatorSum instead of $productCustomsPrice->custom_price to set the price modification
-  *  
  
  

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki