Hallo
Eine oder Verknüpfung geht so
Code:
{if substr($order_total_values.TITLE,0,7) eq 'Versand' || substr($order_total_values.TITLE,0,6) eq 'Inland'}
Versandkosten:
{else}
{$order_total_values.TITLE}
{/if}
Die Wawi liest es aus der orders_total. Wenn Du es eh einheitlich für alles machen willst dann würde ich den Weg über die angeschalteten Versandkostenmodule gehen.
in includes/modules/shipping/dp.php das
Code:
$this->quotes = array('id' => $this->code,
'module' => MODULE_SHIPPING_DP_TEXT_TITLE,
'methods' => array(array('id' => $this->code,
'title' => $shipping_method . ' (' . $shipping_num_boxes . ' x ' . $shipping_weight . ' ' . MODULE_SHIPPING_DP_TEXT_UNITS .')',
'cost' => $shipping_cost * $shipping_num_boxes)));
zu dem
Code:
$this->quotes = array('id' => $this->code,
'module' => MODULE_SHIPPING_DP_TEXT_TITLE,
'methods' => array(array('id' => $this->code,
'title' => 'Versandkosten',
'cost' => $shipping_cost * $shipping_num_boxes)));
oder bei pauschalen includes/modules/shipping/flat.php
Code:
$this->quotes = array('id' => $this->code,
'module' => MODULE_SHIPPING_FLAT_TEXT_TITLE,
'methods' => array(array('id' => $this->code,
'title' => MODULE_SHIPPING_FLAT_TEXT_WAY,
'cost' => MODULE_SHIPPING_FLAT_COST)));
zu dem
Code:
$this->quotes = array('id' => $this->code,
'module' => MODULE_SHIPPING_FLAT_TEXT_TITLE,
'methods' => array(array('id' => $this->code,
'title' => 'Versandkosten',
'cost' => MODULE_SHIPPING_FLAT_COST)));
mfg
jay-ar