@push('scripts') @endpush

{{ $product->title }}

From @if ($product->currentPrice() == $product->msrp)

${{ Midhas::formatPrice($product->currentPrice()) }}
@else
${{ Midhas::formatPrice($product->msrp) }} ${{ Midhas::formatPrice($product->currentPrice()) }}
@endif

SKU:{{ $product->sku }}
@if ($product->is_outof_stock == 1) Out Of Stock @else InStock @endif  |  Usually dispatched within 24 hours
@if ($sizes && $sizes->count())
@endif @if ($product->accessories && $product->accessories->count())
Select Accessories
    @foreach ($product->accessories as $accessory)
  • {{ $accessory->accessory_name }}
  • @endforeach
@endif
{{-- Size Dropdown --}} @if ($product->variants->isNotEmpty())

Choose a color:

@foreach ($product->variants as $index => $variant) thumbnail)])'> @endforeach
@endif {{-- Accessory Dropdown --}}
@if ($product->isEnquiry()) @else

Qty

@php $qtyInCart = 1; if (auth()->check() && auth()->user()->cart) { $cartId = auth()->user()->cart->id; } elseif (session()->has('cart_id')) { $cartId = session('cart_id'); } else { $cartId = null; } if ($cartId) { $cartItem = \App\Models\CartItems::where('cart_id', $cartId) ->where('product_id', $product->id) ->first(); if ($cartItem) { $qtyInCart = $cartItem->quantity; } } @endphp
@if ($product->total_stock > 0 && !$product->is_outof_stock) Add to cart @else

Out Of Stock

@endif
@endif @php $isWishlisted = $product->isAddedToWishList(); @endphp {{ $isWishlisted ? 'Remove from wishlist' : 'Add to wishlist' }}
{{-- Brand --}} View all {{ $product->brand->name }} {{-- Main Category --}} View all {{ $product->categories->first()->name }} {{-- Subcategory --}} @php $subCategory = $product->categories->first()->children->first(); @endphp @if ($subCategory) View all {{ $subCategory->name }} @endif
    @foreach (explode("\n", $product->product_details) as $detail) @if (trim($detail) != '')
  • {{ $detail }}
  • @endif @endforeach
{{--
Shoe Cabinet
--}} @foreach ($product->specifications as $specs) @endforeach
{{ $specs->specs->name }} {{ $specs->value }}
    @foreach (explode("\n", $product->product_description) as $description) @if (trim($description) != '')
  • {{ $description }}
  • @endif @endforeach
{{--

{{ $product->product_description }}

--}}
@foreach ($product->manuals as $manual) PDF {{ $manual->name }} @endforeach

Payment

    @foreach (explode("\n", $product->payment_security) as $method) @if (trim($method))
  • {{ trim($method) }}
  • @endif @endforeach
{{--

Review

--}}
    @auth @endauth
@if (count($product->finances) > 0)
@foreach ($product->finances as $finance)
${{ Midhas::formatPrice($finance->pricePerMonth()) }} per month
${{ $finance->interest_per_month }} interest
${{ Midhas::formatPrice($finance->financingPrice()) }} financing fee
@endforeach
@else
Not Available
@endif

you may also like

@foreach ($relatedProducts as $related)
@endforeach