PHP Classes

File: resources/views/frontend/pages/categories/show.blade.php

Recommend this page to a friend!
  Classes of Maniruzzaman Akash   Laravel Ecommerce Site   resources/views/frontend/pages/categories/show.blade.php   Download  
File: resources/views/frontend/pages/categories/show.blade.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Laravel Ecommerce Site
Application to sell products using Laravel
Author: By
Last change:
Date: 1 year ago
Size: 917 bytes
 

Contents

Class file image Download
@extends('frontend.layouts.master')

@section('content')

  <!-- Start Sidebar + Content -->
  <div class='container margin-top-20'>
    <div class="row">
      <div class="col-md-4">

        @include('frontend.partials.product-sidebar')

      </div>

      <div class="col-md-8">
        <div class="widget">
          <h3> All Products in <span class="badge badge-info">{{ $category->name }} Category</span></h3>
          @php
          $products = $category->products()->paginate(9);
          @endphp

          @if ($products->count() > 0)
            @include('frontend.pages.product.partials.all_products')
          @else
            <div class="alert alert-warning">
              No Products has added yet in this category !!
            </div>
          @endif

        </div>
        <div class="widget">

        </div>
      </div>


    </div>
  </div>

  <!-- End Sidebar + Content -->
@endsection