[-] FO : the option that disable the tax display in the cart wasn't used anymore, I used it again #PSCFV-8033

This commit is contained in:
Damien Metzger
2013-03-05 17:55:07 +01:00
parent 1f41a42d1a
commit e064ea2fd8
2 changed files with 2 additions and 1 deletions

View File

@@ -330,6 +330,7 @@ class FrontControllerCore extends Controller
'shop_name' => Configuration::get('PS_SHOP_NAME'),
'roundMode' => (int)Configuration::get('PS_PRICE_ROUND_MODE'),
'use_taxes' => (int)Configuration::get('PS_TAX'),
'show_taxes' => (int)(Configuration::get('PS_TAX_DISPLAY') == 1 && (int)Configuration::get('PS_TAX')),
'display_tax_label' => (bool)$display_tax_label,
'vat_management' => (int)Configuration::get('VATNUMBER_MANAGEMENT'),
'opc' => (bool)Configuration::get('PS_ORDER_PROCESS_TYPE'),

View File

@@ -166,7 +166,7 @@
{displayPrice price=$total_discounts_negative}
</td>
</tr>
{if $use_taxes}
{if $use_taxes && $show_taxes}
<tr class="cart_total_price">
<td colspan="5">{l s='Total (tax excl.):'}</td>
<td colspan="2" class="price" id="total_price_without_tax">{displayPrice price=$total_price_without_tax}</td>