Zum Inhalt springen

produkt kostet nichts hat aber 2€ versandkosten einmalig.möglich?

Erstellt am 13. Dezember 2006 · 1 Antwort · letzte Antwort am 13. Dezember 2006

Tags: Frage

scuba303 ·

hallo,

ich ha be ein produkt, dass nichts kostet, jedoch sollen einmalig unabhänhig von der bestellten menge 2€ versankostenpauschale erhoben werden. ist das möglich?

scuba303 ·

so.. selbst ist der mann..

$basketproducts = $this->basket->itemArray;

foreach($basketproducts as $key => $value)
{
	foreach($value as $subvalue => $subkey)
	{
	$totalShip += $subkey['rec']['shipping2'];
	
	}
}


$this->basket->calculatedArray['priceNoTax']['shipping'] =$totalShip/1.16;		// Add the amount to the no_tax total
$this->basket->calculatedArray['priceTax']['shipping'] =$totalShip;

als calculationScript reingehängt.
geht vielleicht eleganter, scheint aber zu funktionieren.