Split the you saved text to left and right column through override

Split the you saved text to left and right column through override

<?php
/**
 * List matched Rules in Table format
 *
 * This template can be overridden by copying it to yourtheme/plugin-folder-name/total-savings-cart.php
 *
 * @param int/float $total_discount
 * @param string $total_discounted_price
 * @param string $subtotal_additional_text
 */

if (!defined('ABSPATH')) exit; // Exit if accessed directly

$subtotal_additional_text = '<span class="wdr_you_saved_con">';
$config = new FlycartWooDiscountBase();
$display_you_saved_string = $config->getConfigData('display_you_saved_text_value', " You saved: {{total_discount_price}}");
$display_you_saved_string = str_replace('{{total_discount_price}}', '', $display_you_saved_string);
$subtotal_additional_text .= esc_html__($display_you_saved_string, 'woo-discount-rules');
$subtotal_additional_text .= '</span>';
?>
<tr class="wdr_cart_discount-total">
    <th><?php echo $subtotal_additional_text; ?></th>
    <td >
        <span class="wdr_you_saved_con"><?php echo $total_discounted_price; ?></span>
    </td>
</tr>