---
title: "produkt kostet nichts hat aber 2€ versandkosten einmalig.möglich?"
url: "https://www.typo3.net/d/54967-produkt-kostet-nichts-hat-aber-2eur-versandkosten-einmaligmoeglich"
source: "typo3.net"
tags: ["Extensions","Frage"]
created: "2006-12-13"
last_reply: "2006-12-13"
replies: 1
solved: false
page: 1
pages: 1
lang: "de"
---

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

Extensions · 1 Antwort · gestartet 2006-12-13

## Eröffnungsbeitrag

**scuba303** · 2006-12-13 · [Beitrag #1](https://www.typo3.net/d/54967-produkt-kostet-nichts-hat-aber-2eur-versandkosten-einmaligmoeglich/1)

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?

## Antworten

### [#2](https://www.typo3.net/d/54967-produkt-kostet-nichts-hat-aber-2eur-versandkosten-einmaligmoeglich/2) · scuba303 · 2006-12-13

so.. selbst ist der mann..

```php
$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.

---

Quelle: „produkt kostet nichts hat aber 2€ versandkosten einmalig.möglich?“, typo3.net, https://www.typo3.net/d/54967-produkt-kostet-nichts-hat-aber-2eur-versandkosten-einmaligmoeglich
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
