I'm struggling to get this to work on version 4.5.1. The file which includes the PHP code to amend is actually include/func/func.shipping.php, and I have done the following:
PHP Code:
$total_weight_shipping_valid = func_weight_shipping_products($cart['products'], true, $all_products_free_shipping, false);
$smarty->assign('total_weight_shipping_valid', $total_weight_shipping_valid);
And on the cart.tpl I have included this:
HTML Code:
{$total_weight_shipping_valid}
However nothing shows up. Any thoughts?