@extends('layout.master') @section('parentPageTitle', 'Products') @section('title', 'Products') @section('content')
@include('layout.alert')
@foreach($products as $product) @endforeach
# Name Price Category Brand Action
# Name Price Category Brand Action
{{ $product->id }} {{ $product->name }} {{ $product->regular_price }} {{ $product->category->name }} {{ $product->brand->name }}
@stop @section('page-styles') @stop @section('page-script') @stop