@extends('layouts.web') @section('content') @include('front.commons.inner-banner') @php $flavors = $product->flavors !== '' && $product->flavors !== null ? explode("," ,$product->flavors) : null; $sizes = $product->sizes !== '' && $product->sizes !== null ? explode("," ,$product->sizes) : null; $weights = $product->weights !== '' && $product->weights !== null ? explode("," ,$product->weights) : null; $extras = $product->extras !== '' && $product->extras !== null ? explode("," ,$product->extras) : null; @endphp

{{ $product->title }}

    @if ($product->flavors != null)
  • Available Flavors :
    @foreach($flavors as $flavor) @php $flavorStr = trim($flavor, ' '); $flavorStr = str_replace(" ","-",$flavorStr); @endphp
    @endforeach
  • @endif @if ($sizes != null)
  • Available Sizes :
    @foreach($sizes as $size) @php $sizeStr = trim($size, ' '); $sizeStr = str_replace(" ","-",$sizeStr); @endphp
    @endforeach
  • @endif @if ($weights != null)
  • Available Weights :
    @foreach($weights as $weight) @php $weightStr = trim($weight, ' '); $weightStr = str_replace(" ","-",$weightStr); @endphp
    @endforeach
  • @endif @if ($extras != null)
  • Extra :
    @foreach($extras as $extra) @php $extraStr = trim($extra, ' '); $extraStr = str_replace(" ","-",$extraStr); @endphp
    @endforeach
  • @endif
  • Quantity :
  • Price :
    @if($product->lower_price != 0) ${{$product->lower_price}}- @endif${{$product->price}}

Description

{!! $product->body !!} {{--
--}} @if($product->in_stock == 1) @else
Add to Cart {{-- --}}
@endif
@endsection