@if(get_setting('nagad') == 1)
@endif
@if(get_setting('bkash') == 1)
@endif
@if(get_setting('cash_payment') == 1)
@php
$digital = 0;
$cod_on = 1;
foreach($carts as $cartItem){
$product = \App\Product::find($cartItem['product_id']);
if($product['digital'] == 1){
$digital = 1;
}
if($product['cash_on_delivery'] == 0){
$cod_on = 0;
}
}
@endphp
@if($digital != 1 && $cod_on == 1)
@endif
@endif