@extends('layouts.frontend') @section('content')

Subscription Cart

@if ($message = Session::get('success'))
{{ $message }}
@endif @if ($message = Session::get('error'))
{{ $message }}
@endif
Plan Name Plan Subscription Price

Membership / Subscription Plan

1 Year ₹{{number_format($amount,2)}}

Order Summary

  • MEMBERSHIP TIME 1 Year
  • SUBTOTAL ₹{{number_format($amount,2)}}
  • Apply
@php $discount = 0; $coupon_dicount = 0; if(!empty($couponDetails)){ $coupon_type = $couponDetails['coupon_type']; if($coupon_type == 'fix_amount_all_product'){ $coupon_dicount = $couponDetails['coupon_amount']; }elseif($coupon_type == 'percentage_amount_all_product'){ $coupon_dicount = ($amount * $couponDetails['coupon_amount'])/100; }elseif($coupon_type == 'fix_cart_discount'){ if($couponDetails['coupon_amount'] < $amount){ $coupon_dicount = $couponDetails['coupon_amount']; } }elseif($coupon_type == 'percentage_cart_discount'){ $coupon_percentage_amount = ($amount*$couponDetails['coupon_amount'])/100; if($coupon_percentage_amount < $amount){ $coupon_dicount = $coupon_dicount + $coupon_percentage_amount; } } } @endphp
    @if($coupon_dicount > 0) @php $amount = $amount - $coupon_dicount; @endphp
  • Coupon Discount ₹{{number_format($coupon_dicount,2)}}
  • @endif
  • Total ₹{{number_format($amount,2)}}
Proceed to Checkout
@endsection @section("js_after") @endsection