solved: Wird bei Dir der Versandpreis dem Warenkorb hinzugerechnet?
EDIT : Geht mit der neuesten Version wieder. Danke an aschempp!
Dein Problem habe ich so gelöst:
Session variable im Warenkorb Template:
PHP-Code:
$gesamtgewicht += $product['quantity'] * $product['shipping_weight']['value'];
Ausgabe im Warenkorb (im footer):
PHP-Code:
<tfoot>
<tr class="foot_<?php echo count($this->surcharges)+1; ?> foot_last grandtotal">
<td class="col_first"> </td>
<td class="name" colspan="2">Gesamtgewicht: <?php
$_SESSION['gesamtgewicht'] = $gesamtgewicht . ' ' . $product['shipping_weight']['unit'];
echo $_SESSION['gesamtgewicht']; ?></td>
<td class="price total" colspan="2"></td>
<td class="tax"> </td>
<td class="col_last remove"> </td>
</tr>
</tfoot>
Im Shipping Template:
PHP-Code:
<label for="ctrl_shipping_module_<?php echo $method['id']; ?>"><?php echo $method['label'] . $method['price']; ?><?php
if ($method['price'] <> ''):
echo ' ('.$_SESSION['gesamtgewicht'].')';
endif;
?><br /></label>
Lesezeichen