Prestashop – add ajax show prices without VAT in block cart

1. Change in modules\blockcart\blockcart.tpl

after line 125:

 {l s='Tax' mod='blockcart'}
				{$tax_cost}

add code:

{l s='Total without tax' mod='blockcart'}
				{$total_without_tax}
				

2. Change in modules\blockcart\blockcart.php

after line 95:

'total' => Tools::displayPrice($totalToPay, $currency),

add code:

'total_without_tax' => Tools::displayPrice($totalToPayWithoutTaxes),

3. Change in modules\blockcart\ajax-cart.js

after line 575:

$('.ajax_cart_tax_cost').text(jsonData.taxCost);

add code:

$('.ajax_cart_total_without_tax').text(jsonData.totalWithoutTax);

4. Change in modules\blockcart\blockcart-json.tpl

after line 96:

"shippingCost": "{$shipping_cost|html_entity_decode:2:'UTF-8'}",

add code:

"totalWithoutTax": "{$total_without_tax|html_entity_decode:2:'UTF-8'}",

5. Add in css :

[css]
#cart_block_total_without_tax { padding-right: 1.3em }
[/css]