Ano jde to:
Musite editovat dva soubory:
modules/blockcart/blockcart.tpl
odstrante nebo zakomentujte tyto tri radky:
| Kód: |
<span>{l s='Shipping' mod='blockcart'}</span>
<span id="cart_block_shipping_cost" class="price ajax_cart_shipping_cost">{$shipping_cost}</span>
<br/>
|
Dale jeste upravte soubor modules/blockcart/blockcart.php
tento kod:
| Kód: |
'total' => Tools::displayPrice($params['cart']->getOrderTotal($usetax), $currency),
|
nahradte timto:
| Kód: |
'total' => Tools::displayPrice($params['cart']->getOrderTotal($usetax, 4), $currency),
|
jak vidite pridali jsme jenom cislo jako dalsi parametr funkce, pokud by jste chtel pocitat ceny jeste jinak tady je tabulka jake cislo mate vlozit:
type = 1: only products
type = 2: only discounts
type = 3: both
type = 4: both but without shipping
type = 5: only shipping
type = 6: only wrapping
type = 7: only products without shipping