@lang('Total MRP')
{{ Session::has('cart') ?
App\Models\Product::convertPrice(Session::get('cart')->totalPrice) : '0.00'
}}
@lang('Tax')
0
@if (Session::has('coupon'))
@lang('Discount') {{ Session::get('coupon_percentage')
== 0 ? '' : '(' . Session::get('coupon_percentage') . ')' }}
@if ($gs->currency_format == 0)
{{ $curr->sign }}{{ Session::get('coupon')
}}
@else
{{ Session::get('coupon') }}{{ $curr->sign
}}
@endif
@else
@lang('Discount')
{{ $curr->sign }}{{ Session::get('coupon')
}}
@endif
@php
$shipping_cost = 0;
if (isset($step2->shipping) && is_array($step2->shipping)) {
foreach ($step2->shipping as $key => $value) {
$shpping = App\Models\Shipping::findOrFail($value);
$shipping_cost += $shpping->price;
}
}
$packing_cost = 0;
if (isset($step2->packeging) && is_array($step2->packeging)) {
foreach ($step2->packeging as $key => $value) {
$shpping = App\Models\Package::findOrFail($value);
$packing_cost += $shpping->price;
}
}
$extra_cost = $shipping_cost + $packing_cost;
@endphp
@if ($digital == 0)
@php
if (isset($step2->shipping_id)) {
$shipping_cost = App\Models\Shipping::findOrFail($step2->shipping_id)
->price;
}
if (isset($step2->packaging_id)) {
$packing_cost = App\Models\Package::findOrFail($step2->packaging_id)
->price;
}
@endphp
@lang('Shipping Cost')
{{ App\Models\Product::convertPrice($shipping_cost)
}}
@lang('Packaging Cost')
{{
App\Models\Product::convertPrice($packing_cost) }}
@endif