@extends('layouts.main-app') @section('title', 'Home') @section('content') @include('layouts.navbar')
{{--

Home/Shop/Cold Plunge Units/New Product Luxury Acrylic Outdoor Hot Tub

--}}
Product
@if (is_array($product->sub_thumbnail_images) && count($product->sub_thumbnail_images) > 0) @foreach ($product->sub_thumbnail_images as $thumbnail) Thumbnail @endforeach @else No thumbnails available. @endif

{{ $product->name }}

In Stock {{ $product->in_stock > 0 ? 'In Stock' : 'Out of Stock' }}
₱{{ number_format($product->price, 2) }} ₱{{ number_format($product->discounted_price, 2) }}

Specifications

    @php // Decode the JSON string back to an array $specificationsArray = json_decode($product->specifications, true); @endphp @if (is_array($specificationsArray) && !empty($specificationsArray)) @foreach ($specificationsArray as $specification)
  • {{ $specification }}
  • @endforeach @else
  • No specifications available.
  • @endif
{{--
    @foreach ($product->features as $feature)
  • • {{ $feature }}
  • @endforeach
--}}

Variations

@if (is_array($product->variations)) @php $variations = $product->variations; @endphp @else @php $variations = json_decode($product->variations, true); @endphp @endif @if (is_array($variations) && count($variations) > 0) @foreach ($variations as $variation) @endforeach @else

No variations available.

@endif
Categories: @if($product->categories->isNotEmpty())
    @foreach($product->categories as $category)
  • {{ $category->name }}
  • @endforeach
@else No categories available @endif
Stock: {{ $product->in_stock }}
Warranty: {{ $product->warranty }}

@csrf

Description


About This Product

{{ $product->description }}



Specifications

Specifications

    @php // Decode the JSON string back to an array $specificationsArray = json_decode($product->specifications, true); @endphp @if (is_array($specificationsArray) && !empty($specificationsArray)) @foreach ($specificationsArray as $specification)
  • {{ $specification }}
  • @endforeach @else
  • No specifications available.
  • @endif

Recommended Products


@foreach ($moreProducts as $product)
{{ $product->name }}

{{ $product->name }}

@if ($product->discounted_price) ₱{{ number_format($product->price, 2) }} @endif ₱{{ number_format($product->discounted_price ?? $product->price, 2) }}
@for ($i = 0; $i < 5; $i++) @endfor
In Stock In Stock
ADD TO CART
@endforeach
@include('layouts.footer')
@endsection