Hallo mario,
ich bin auch dabei mit isotope 2.2.2 einen Shop zu basteln.
Laut Forum und meinen Erkenntnissen wird die Mehrwertsteuer nicht extra ausgewiesen.
Man muß das Template "iso_collection_default" dafür anpassen.
Die Lösungen welche ich bisher gefunden habe waren nicht erfolgreich, sie beruhen wahrscheinlich auf älteren Isitope-Versionen.
hier ein Auszug aus meinem Template:
HTML-Code:
<tr class="foot_<?php echo count($this->surcharges)+1; ?> foot_last total">
<?php $i=0; if(!$this->isNotification): ?>
<td class="col_<?php echo $i++; ?> col_first"> </td><?php endif; ?>
<td class="col_<?php echo $i++; $i++ ?><?php if($this->isNotification) echo ' col_first'; ?> name" colspan="2"><?php echo $GLOBALS['TL_LANG']['MSC']['grandTotalLabel']; ?></td>
<td class="col_<?php echo $i++; ?> price"> </td>
<td class="col_<?php echo $i++; ?> price total"><?php echo $this->total; ?></td>
<td class="col_<?php echo $i++; ?> <?php if(!$this->isEditable) echo 'col_last '; ?>tax"> </td><?php if($this->isEditable): ?>
<td class="col_<?php echo $i++; ?> col_last remove"> </td><?php endif; ?>
</tr>
<!----------------------------------- Mehrwertsteuer --------------------- -->
<?php
$brutto= $this->total;
$mwst = 19;
$brutto = str_replace(",",".",$brutto);
$brutto = floatval($brutto);
$mwstbtr = ($brutto/100)*$mwst;
$mwstbtr = number_format($mwstbtr, 2);
?>
<tr>
<td> </td>
<td>enthaltene MwSt.</td>
<td> </td>
<td> </td>
<td><?php echo $mwstbtr . " €" ?></td>
</tr>
<!---------------------------------------------------------------------------- -->
</tfoot>
</table>
vielleicht weiß jemand wie man an die Werte für Mehrwertsteuer oder das Lieferland kommt, dann könnte man hier auch für andere Länder abfragen, zur Zeit nur Deutschland.
Gruß Klaus
Lesezeichen