'; }); $('#cart_storewide-discounts').empty(); $('#cart_storewide-discounts').append(storewide_discounts_html); } $('#cartSubtotal').empty(); $('#cartSubtotal').append(money_prefix+' '+ data.total_price+' '+money_suffix); if(data.voucher_discounts.length > 0){ var cart__voucher = ''; $.each(data.voucher_discounts, function( index, voucher ) { cart__voucher += '