@if (sizeof(Cart::instance('default')->content()) > 0)
{!! __('Enjoy an extra discount') !!} | ||
---|---|---|
{!! __('Discount coupon') !!} ({{ session()->get('coupon')['code'] }}) (@if (session()->get('coupon')['type'] == 'percent') {!! __('Percent discount') !!} {{ session()->get('coupon')['amount'] }}% @else {!! __('Discount value') !!} {{ session()->get('coupon')['amount'] }} {!! __('EGP') !!} @endif) | ||
{!! __('Lowest purchase value') !!} ({{ session()->get('coupon')['min_amount'] }}) {!! __('EGP') !!} | ||
{!! __('Discount value') !!} | {{ session()->get('coupon')['discount'] }} {!! __('EGP') !!} | |
{!! __('Total payment') !!} | @if (Cart::instance('default')->subtotal(false,false,false) > session()->get('coupon')['min_amount']) {{ Cart::instance('default')->subtotal(false,false,false) - session()->get('coupon')['discount']}} {!! __('EGP') !!} @else {{ Cart::instance('default')->subtotal(false,false,false) }} {!! __('EGP') !!} @endif |