@extends('frontend.layouts.landing-ppc') @section('title', $data['page']->meta_title) @section('meta_keywords', $data['page']->meta_keywords) @section('meta_description', $data['page']->meta_description) @section('content')
GerVetUSA
@if(trim(strip_tags($data['page']->content)) != null)
{!! $data['page']->content !!}
@endif @foreach($data['show_products'] as $key => $products)
{{ $key }}
@foreach($products as $sku) @php $link = null; if(strstr($sku, '^')) { $exp = explode('^', $sku); $sku = $exp[0]; $link = $exp[1]; } $product = \App\Models\Product::getProductBySKU($sku); @endphp @if($product) {!! \App\Models\Product::productBlock($product, 'landing-ppc', false, $link) !!} @endif @endforeach
@endforeach
@endsection