@extends('product::layouts.master') @section('title') create product @stop @section('content')
insert product
{{--show validation errors--}} @component('product::components.validationError',['errors'=>$errors])@endcomponent {{--show controller messages--}} @if (Session::has('successMSG'))

{{Session::get('successMSG')}}

@elseif (Session::has('errorMSG'))

{{Session::get('errorMSG')}}

@endif {{--category add modal form--}}
@component('product::components.modal',isset($categories)?['categories'=>$categories]:[])@endcomponent {{--product store form--}}
@csrf
@stop @push('js') @endpush