diff --git a/themes/default/views/store/checkout.blade.php b/themes/default/views/store/checkout.blade.php index 5fc36004..5d5de5cf 100644 --- a/themes/default/views/store/checkout.blade.php +++ b/themes/default/views/store/checkout.blade.php @@ -22,104 +22,87 @@ -
+
-
+ @csrf @method('post')
@if (!$productIsFree)
-
-

- - Payment Methods -

-
-
- - -
-
- @foreach ($paymentGateways as $gateway) -
-
- - - +
+
    +
  • +
    + + +
    + {{ __('Payment Methods') }} +
    + @foreach ($paymentGateways as $gateway) +
    +
    + + + + +
    +
    + @endforeach
    - @endforeach -
    -
+
+ + +
  • +
    +
    + @if ($isCouponsEnabled) + {{ __('Coupon') }} + +
    + + + +
    + @error('coupon_code') +
    + {{ $message }} +
    + @enderror + @endif +
    +
    +
  • +
    - @if ($isCouponsEnabled) -
    -
    -
    -

    - Coupon Code -

    -
    -
    -
    - - -
    - @error('coupon_code') -
    - {{ $message }} -
    - @enderror -
    -
    -
    - @endif @endif
    @@ -173,7 +156,7 @@
  • {{ __('Subtotal') }} - {{ $product->formatToCurrency($discountedprice) }} + {{ $product->formatToCurrency($product->price) }}
  • {{ __('Tax') }} @@ -184,18 +167,19 @@ + {{ $product->formatToCurrency($taxvalue) }}
    -
    - - {{ __('Coupon Discount') }} - - +
    + + {{ __('Coupon Discount') }} + + - +
    @if ($discountpercent && $discountvalue)
    {{ __('Discount') }} - ({{ $discountpercent }}%): + ({{ $discountpercent }}%) -{{ $product->formatToCurrency($discountvalue) }}
    @@ -203,40 +187,36 @@
    {{ __('Total') }} - - - {{ $product->formatToCurrency($total) }} + +
    - - +
    @@ -248,81 +228,100 @@ @endsection