@php $productImageGalleries = \App\Models\ProductImageGallery::where('product_id', $product->id)->get(); @endphp @extends('layouts.master') @section('content') @include('components.breadcum')
@if (count($productImageGalleries) > 0) @foreach ($productImageGalleries as $productImageGallery)
shop-details-img
@endforeach @else
shop-details-img
@endif
@if (count($productImageGalleries) > 0) @foreach ($productImageGalleries as $productImageGallery)
shop-details-img
@endforeach @else
shop-details-img
@endif
{{ $product->name }}
@if (ifProductHasDiscount($product)) {{ formatAmount($product->price, $settings) }}

{{ formatAmount($product->offer_price, $settings) }}

@else

{{ formatAmount($product->price, $settings) }}

@endif
{{ $product->short_description }}.
Quantity:{{ $product->quantity }}
{{--
--}}
  • Freee Delivery

    From {{ formatAmount($shippingRule->min_cost, $settings) }}

  • 99% Customer

    Feedbacks

  • 55 days

    For free return

Sku: {{ $product->sku }}
Category: {{ $product->productCategory->name }}
About Product

{!! $product->long_description !!}

Shop information
  • Store: {{ config('app.name') }} Store

  • Name : {{ config('app.name') }}

  • Email : {{ config('app.email') }}

@php $reviews = \App\Models\ProductReview::where('product_id', $product->id) ->where('status', 1) ->get(); @endphp
{{ count($reviews) }} Review For {{ $product->name }}
    @forelse ($reviews as $review)
  • profile
    {{ $review->user->name }}

    Customer

    {{ $review->created_at->diffForHumans() }}

    {{ $review->review }}

  • @empty
  • No Reviews
  • @endforelse
@auth
Add A Review
@csrf
@endauth
Related Products
@forelse ($products as $product)
{{ $product->name }}
@if (ifProductHasDiscount($product)) {{ formatAmount($product->price, $settings) }}

{{ formatAmount($product->offer_price, $settings) }}

@else

{{ formatAmount($product->price, $settings) }}

@endif
@empty
No related products
@endforelse
@endsection