@extends('rubandroll.layouts.app') @section('meta-title')Webshop - Rub & Roll @endsection @section('meta-keywords') @endsection @section('meta-description') @endsection @section('content')
Background
Rub & Roll

Megrendelés

@foreach (Alert::getMessages() as $type => $messages)
@foreach ($messages as $message) @endforeach
@endforeach
{{--
--}} {{-- Lorem ipsum dolor sit amet.--}} {{--
--}}
@csrf
{{-- @if(auth()->guest())--}} {{--
--}} {{--
Visszatérő vásárló vagy? Kattints ide a bejelentkezéshez.
--}} {{--
--}} {{-- @endif--}}

Kapcsolattartási adatok

@if(!auth()->check()) @include('rubandroll.webshop.includes.cart.input_text', ['name' => 'customer_email', 'required' => true, 'class' => 'col-md-6']) @endif @include('rubandroll.webshop.includes.cart.input_text', ['name' => 'customer_phone', 'class' => 'col-md-6'])

Számlázási adatok

@include('rubandroll.webshop.includes.cart.input_text', ['name' => 'customer_billing_last_name', 'required' => true, 'class' => 'col-md-6']) @include('rubandroll.webshop.includes.cart.input_text', ['name' => 'customer_billing_first_name', 'required' => true, 'class' => 'col-md-6'])
@include('rubandroll.webshop.includes.cart.input_text', ['name' => 'customer_company_name', 'class' => 'col-md-8']) @include('rubandroll.webshop.includes.cart.input_text', ['name' => 'customer_tax_number', 'class' => 'col-md-4'])
{{-- --}}
@include('rubandroll.webshop.includes.cart.input_text', ['name' => 'customer_billing_postal_code', 'required' => true, 'class' => 'col-md-4']) @include('rubandroll.webshop.includes.cart.input_text', ['name' => 'customer_billing_city', 'required' => true, 'class' => 'col-md-8'])
@include('rubandroll.webshop.includes.cart.input_text', ['name' => 'customer_billing_address', 'required' => true])

Szállítási adatok

{{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}}
@include('rubandroll.webshop.includes.cart.input_text', ['name' => 'customer_delivery_last_name', 'required' => true, 'class' => 'col-md-6']) @include('rubandroll.webshop.includes.cart.input_text', ['name' => 'customer_delivery_first_name', 'required' => true, 'class' => 'col-md-6'])
{{-- --}}
@include('rubandroll.webshop.includes.cart.input_text', ['name' => 'customer_delivery_postal_code', 'required' => true, 'class' => 'col-md-4']) @include('rubandroll.webshop.includes.cart.input_text', ['name' => 'customer_delivery_city', 'required' => true, 'class' => 'col-md-8'])
@include('rubandroll.webshop.includes.cart.input_text', ['name' => 'customer_delivery_address', 'required' => true])

Kosár tartalma

@php $allInStock = true; @endphp @foreach(Cart::getContent() as $item) @php if ($allInStock && (\App\Models\Product::find($item->attributes->product_id)->stock == 0)) $allInStock = false; @endphp @endforeach @php $grossPrice = \App\Utils::sumCartPriceWithoutShipping(Cart::getContent()); $grossPaymentPrice = \App\Models\Order::$PAYMENT_METHOD_COSTS[1]; $grossShippingPrice = \App\Utils::getShippingCost($grossPrice); @endphp
Megnevezés Összeg
{{ $item->name }} × {{ $item->quantity }} {{ \App\Utils::priceForHumans($item->getPriceSum()) }}
Termékek összege {{ \App\Utils::priceForHumans($grossPrice) }}
Fizetési mód {{ \App\Utils::priceForHumans($grossPaymentPrice) }}
Szállítási mód {{ \App\Utils::priceForHumans($grossShippingPrice) }}
Összeg {{ \App\Utils::priceForHumans($grossPrice + $grossPaymentPrice + $grossShippingPrice) }}
    @foreach(\App\Models\Order::$PAYMENT_METHOD_VALUES as $paymentMethodId => $paymentMethodName) @php if ($paymentMethodId == 0 && (!auth()->check() || auth()->user()->email != "teszt@darknetworks.hu")) continue; @endphp @php $paymentMethodCost = \App\Models\Order::$PAYMENT_METHOD_COSTS[$paymentMethodId] @endphp {{-- @if($paymentMethodId != 0 || $allInStock)--}}
  • {{--
    --}} {{--
    --}} {{-- Készpénzes fizetés az átvételkor.--}} {{--
    --}} {{--
    --}} @if($paymentMethodId == 0)  SimplePay vásárlói tájékoztató @endif
  • {{-- @endif--}} @endforeach
    @foreach(\App\Models\Order::$SHIPPING_METHOD_VALUES as $shippingMethodId => $shippingMethodName)
  • {{--
    --}} {{--
    --}} {{-- Készpénzes fizetés az átvételkor.--}} {{--
    --}} {{--
    --}}
  • @endforeach
{{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}}
@endsection