@extends('layouts.master') @section('css') @endsection @section('page_content')

{{$product->name}}

{!! $product->caption !!}

Overview @if(isset($product->meta) && count($product->meta) > 0) @foreach($product->meta as $k => $v) {{$v->meta_title}} @endforeach @endif @if(isset($product->packages) && count($product->packages) > 0) Prices @endif
{{--@include('layouts.partial.breadcrumbs')--}}
@if(isset($product->page)) {!! $product->page->content !!} @if(isset($product->page->meta) && count($product->page->meta) > 0) @foreach($product->page->meta as $k => $v)

{{$v->meta_title}}

{!! $v->meta_content !!}
@endforeach @endif @if(isset($product->page->files) && count($product->page->files) > 0)

Related Photos

@foreach($product->page->files as $k => $v)
@endforeach
@endif @endif
@foreach($product->meta as $k => $v)
{!! $v->meta_content !!}
@endforeach
@for($i=0; count($packages) > $i; $i++)
{{$packages[$i]->name}}
@if($packages[$i]->discount > 0 && !empty($packages[$i]->discount_caption))
{{$packages[$i]->discount_caption}}
@endif
  • discount > 0 ? 'data-badge=-'.$packages[$i]->discount.'%' : ''}}> @if($packages[$i]->discount == 0) {!! trans('interface.us_dollar_sign') !!} {{round($packages[$i]->amount,2)}} {!! trans('interface.per_'.$packages[$i]->interval) !!} @else {!! trans('interface.us_dollar_sign') !!} {{ $packages[$i]->amount - round(($packages[$i]->amount*($packages[$i]->discount/100)),2) }} {!! trans('interface.per_'.$packages[$i]->interval) !!} {{trans('interface.us_dollar_sign').round($packages[$i]->amount,2)}} when you renew @endif
  • @foreach($packages[$i]['features'] as $k => $v)
  • {{ !empty($v->pivot->value) ? $v->pivot->value : $v->default_value }} {{$v->value_type}} {{$v->name}}
  • @endforeach
  • {!! trans('interface.vat_disclaimer', ['vat' => $vat]) !!}
@endfor

Wait, there's more!

@for($i=0; count($packages) > $i; $i++)
@if(count($packages[$i]['nonListedFeatures']) > 0) @foreach($packages[$i]['nonListedFeatures'] as $k => $v) @endforeach
{{$packages[$i]->name}}
{{ !empty($v->pivot->value) ? $v->pivot->value : $v->default_value }} {{$v->value_type}} {{$v->name}}
@endif
@endfor
@endsection @section('extend_layout') @endsection @section('js') @endsection