@extends('front.layouts.app') @push('css') @endpush @section('content') Home / Shop Product Details @if($product->product_photos) @foreach(json_decode($product->product_photos) as $ph) @endforeach @endif {{$product->product_name}} ${{$product->price}} {!! $product->description !!} {{-- --}} {{-- REF. 4231/{{$product->id}} --}} {{-- Availability. Available in store--}} @if($product->colors && sizeof(json_decode($product->colors))>0) Select Color @foreach(json_decode($product->colors, true) as $key=>$color) @if($key==0) @endif @endforeach @endif Quantity Add to cart Share with friends Related Products @foreach(\App\Models\Product::where('brand_id',$product->brand_id )-> where('id','<>',$product->id)->orderBy('id','desc')->skip(0)->take(8)->get() as $p) @endforeach @endsection @push('p_js') @endpush
--}} {{-- REF. 4231/{{$product->id}} --}} {{-- Availability. Available in store