@extends("admin/layouts.master") @section('title','Block Detail Page Advertising | ') @section("body")
On Category Page
On Product Detail Page
Display On: @php $detailpage = App\Category::where('id',$detail->linked_id)->first(); if(!isset($detailpage)){ $detailpage = App\Product::where('id',$detail->linked_id)->first(); } @endphp @if(isset($detailpage['name'])) {{ $detailpage['name'] }} @else {{ $detailpage['title'] }} @endif
Linked To: @if($detail->linkby == 'detail') {{ $detail->product['name'] }} @elseif($detail->linkby == 'category') {{ $detail->category['title'] }} @elseif($detail->linkby == 'url') Custom URL @elseif($detail->linkby == 'adsense') Google Adsense Script @endif
Heading Text: {{ $detail->top_heading }}
Button text: {{ $detail->btn_text }}
Do you really want to delete this brand? This process cannot be undone.