@extends('shop::layouts.master') @section('page_title') {{ trim($category->meta_title) != "" ? $category->meta_title : $category->name }} @stop @section('seo') meta_description : \Illuminate\Support\Str::limit(strip_tags($category->description), 120, '') }}"/> @if (core()->getConfigData('catalog.rich_snippets.categories.enable')) @endif @stop @section('content-wrapper') @inject ('productRepository', 'Webkul\Product\Repositories\ProductRepository')
{!! view_render_event('bagisto.shop.products.index.before', ['category' => $category]) !!}
@if (in_array($category->display_mode, [null, 'products_only', 'products_and_description'])) @include ('shop::products.list.layered-navigation') @endif
display_mode == 'description_only') style="width: 100%" @endif>
@if (!is_null($category->image)) @endif
@if (in_array($category->display_mode, [null, 'description_only', 'products_and_description'])) @if ($category->description)
{!! $category->description !!}
@endif @endif @if (in_array($category->display_mode, [null, 'products_only', 'products_and_description']))
Warning: Undefined variable $productRepository in /home/flighto/e-commerce2/resources/themes/default/views/products/index.blade.php on line 47

Fatal error: Uncaught Error: Call to a member function getAll() on null in /home/flighto/e-commerce2/resources/themes/default/views/products/index.blade.php:47 Stack trace: #0 {main} thrown in /home/flighto/e-commerce2/resources/themes/default/views/products/index.blade.php on line 47