@extends('frontend') @php $timming = $store->store_time; $facilities = json_decode( $store->facilities ); $socials = json_decode( $store->socials ); $rating = rating( $store->id ); $review = review( $store->id ); $images = $store->images; @endphp @section('og-tags') @endsection @section('stylesheet') @endsection @section('content')
หน้าแรก | {{ $store->category->name }} | {{ $store->name }}

{{ $store->name }}

{{ $rating }} เรตติ้ง {{ $review }} รีวิว
{!! tagLink( $store->tags ) !!}
แชร์
{{-- window.open('https://www.facebook.com/sharer/sharer.php?u='+encodeURIComponent('https://developers.facebook.com/docs/plugins/'),'facebook-share-dialog','width=626,height=436'); return false; --}}
@if ( count($images) > 0 )
@for ($i = 0; $i <= 1; $i++) @php if( !isset( $images[$i] ) ) break; $image = $images[$i]; @endphp
@endfor @if (count($images) > 2 )

+{{ count($images)-2 }}

@endif
@endif
เปิดอยู่ {{ $store->open_day == 0 ? 'เปิดทุกวัน' : 'เปิด ' . workingDays( $store->store_time->open_days ) }} | เวลาเปิด-ปิด : {{ $timming->open_time }} - {{ $timming->close_time }}
รายละเอียดร้านค้า @if ($store->product_type > 0) {{ $store->product_type == 1 ? 'มือหนึ่ง' : 'มือสอง' }}
@endif
{!! nl2br( $store->description ) !!}
ช่วงราคา
{{ nb( $store->price_start ) }} - {{ nb( $store->price_end ) }} บาท
@if ($store->promotion )
โปรโมชั่น
{!! nl2br( $store->promotion ) !!}
@endif @if ($facilities)
สิ่งอำนวยความสะดวก
    @foreach ($facilities as $facilitie)
  • {{ obj_facilities( $facilitie ) }}
  • @endforeach
@endif
เกี่ยวกับร้านค้า
@if ( $store->map && $store->map != 'null' )
{{-- --}}
@endif
{{ $store->address2 }} {{ $store->district->name_th}} {{ $store->city->name_th }} {{ $store->province->name_th }} {{ $store->zipcode }}
{!! phoneLink($store->user->phone) !!}, {!! phoneLink($store->phone1) !!} {!! $store->phone2 ? ', '. phoneLink($store->phone2) : '' !!}
@if ( $socials )
ช่องทางติดต่อร้านค้า
@endif
@include('frontend.includes.shop-reviews')
@include('frontend.includes.sidebar-shops')
@endsection {{-- Modals list --}} @section('modals') @include('frontend.modals.policy') @include('frontend.modals.share-link') @endsection {{-- Javascript --}} @section('javascript') @endsection