@extends('frontend.app') @section('content') @php use App\Models\Information; use App\Models\BanglaText; $info = Information::first(); $bangla_text = BanglaText::first(); $coupon_visibility = $info->coupon_visibility; $cart = session()->get('cart', []); $is_free = 0; foreach($cart as $key => $item){ if(!empty($item['is_free_shipping']) && $item['is_free_shipping'] == 1){ $is_free = 1; break; } } @endphp @csrf @include('frontend.cart.details') @foreach($cart as $item) @endforeach @csrf Have a coupon? Click here to enter your code If you have a coupon code, please apply it below. Apply Billing details আ * {{ $errors->first('first_name') }} * {{ $errors->first('mobile') }} @foreach($charges as $key=>$charge) id==2 ?'checked':''}} name="" data-charge="{{ $charge->amount}}"> {{ $charge->title}} {{ $charge->amount}} {{ $errors->first('delivery_charge_id') }} @endforeach র া * {{ $errors->first('shipping_address') }} Your Order Product Price Quantity Total Price @php $total=0; $discount=0; @endphp @foreach($cart as $key=>$item) @php $price=$item['price']*$item['quantity']; $total +=$price; $discount +=$item['discount']*$item['quantity']; @endphp {{ $item['name']}} {{ priceFormate($item['price'])}} {{ $item['quantity'] }} {{ priceFormate($price)}} @endforeach Sub Total {{ priceFormate($total+$discount)}} @if($discount>0) Discount - {{ priceFormate($discount)}} @endif @if(getCouponDiscount()>0) Coupon Discount - {{ priceFormate(getCouponDiscount())}} @endif Total {{ priceFormate($total - getCouponDiscount())}} @php $total = $total - getCouponDiscount(); $chr_amount = $charge->amount; $gr_total = $total + $chr_amount; @endphp Bkash ({{ $info->bkash_number}}) Rocket ({{ $info->rocket_number}}) Nogod ({{ $info->nogod_number}}) Paypal ({{ $info->paypal_account}}) Stripe ({{ $info->stripe_account}}) Cash on delivery Account Number Transaction Number র র @endsection @push('js') // @endpush
If you have a coupon code, please apply it below.