diff --git a/themes/default/views/cart.blade.php b/themes/default/views/cart.blade.php new file mode 100644 index 0000000..3d4e0d0 --- /dev/null +++ b/themes/default/views/cart.blade.php @@ -0,0 +1,119 @@ +
+
+
+ @if (Cart::items()->count() === 0) +

+ {{ __('product.empty_cart') }} +

+ @endif + @foreach (Cart::items() as $item) +
+
+

+ {{ $item->product->name }} +

+

+ @foreach ($item->config_options as $option) + {{ $option['option_name'] }}: {{ $option['value_name'] }}
+ @endforeach +

+
+
+

+ {{ $item->price->format($item->price->total * $item->quantity) }} @if ($item->quantity > 1) + ({{ $item->price }} each) + @endif +

+
+ @if ($item->product->allow_quantity == 'combined') +
+ + - + + + + + + +
+ @endif + + + {{ __('product.edit') }} + + + + +
+ {{ __('product.remove') }} +
+
+
+
+
+ @endforeach +
+
+ @if (Cart::items()->count() > 0) +
+

+ {{ __('product.order_summary') }} +

+
+ @if(!$coupon) + + + +
+ {{ __('product.apply') }} +
+
+ @else +
+

{{ $coupon->code }}

+ + {{ __('product.remove') }} + +
+ @endif +
+
+

{{ __('invoices.subtotal') }}:

{{ $total->format($total->subtotal) }} +
+ @if ($total->tax > 0) +
+

{{ \App\Classes\Settings::tax()->name }} ({{ \App\Classes\Settings::tax()->rate }}%):

{{ $total->format($total->tax) }} +
+ @endif +
+

{{ __('invoices.total') }}:

{{ $total->format($total->total) }} +
+ +
+ @if(config('settings.tos')) + + {{ __('product.tos') }} + + {{ __('product.tos_link') }} + + + @endif + +
+ + +
+ {{ __('product.checkout') }} +
+
+
+
+
+ @endif +
+
+