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?
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?
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.