@extends('admin.layout.admin') @section("title"," Dashboard | Wishours") @section("content") Products Manage Products Product Edit Product Edit Product @if ($errors->any()) @foreach ($errors->all() as $error) {{ $error }} @endforeach @endif @if (session()->has('message')) {{ session('message') }} @endif {{ csrf_field() }} @if(isset($product)) {{method_field('PUT')}} @endif Title: Description: {!! @$product->description !!} @if(@$product->another_product == 0) ---Select Flavor--- @if(isset($flavourCategories)) @foreach($flavourCategories as $flavourCategory) title == $product->flavor) selected @endif>{{ $flavourCategory->title }} @endforeach @endif @endif Product Code: @if(@$product->another_product == 0) Default Product Size: @endif Price: Search Engine Optimization Status status == 0) {{'selected'}} @endif>Pending status == 1) {{'selected'}} @endif>Publish Feaured Image Choose file @if(@$product->another_product == 0) featured == 1) {{'checked'}} @endif"/> Featured Product best_seller}}@else{{0}}@endif" @if(isset($product) && $product->best_seller == 1) {{'checked'}} @endif"/> Best Seller heart_shape}}@else{{0}}@endif" @if(isset($product) && $product->heart_shape == 1) {{'checked'}} @endif"/> Heart Shape @endif Select Categories @if($categories->count() > 0) @foreach($categories as $category) id, $ids)) {{'selected'}} @endif >{{$category->title}} @endforeach @endif @endsection
Featured Product
Best Seller
Heart Shape