@extends('admin.layouts.dashboard') @php $title = empty($item) ? 'Add Item' : 'Edit Item'; $button_text = empty($item) ? 'Submit' : 'Update'; @endphp @section('title', $title) @section('content') @if(!empty($item))
@method('put') @else @endif @csrf
@if (Session::has('failure'))
{{ Session::get('failure') }}
@endif

01

General Info.

Setup Basic Product Details

02

Product Media

Add Option Based Product Media

Backsplash

gift_wrap) && $item->gift_wrap == 1 ? 'checked' : '' }}> gift_wrap) && $item->gift_wrap == 0 ? 'checked' : '' }}>

Do you want to track inventory for this product?

track_inventory) && $item->track_inventory == 1 ? 'checked' : '' }}> track_inventory) && $item->track_inventory == 0 ? 'checked' : '' }}>

You want to sell this product as?

selling_at) && $item->selling_at == 'shipping' ? 'checked' : '' }}> selling_at) && $item->selling_at == 'pickup' ? 'checked' : '' }}> selling_at) && $item->selling_at == 'both' ? 'checked' : '' }}>

Continue selling when out of stock

continue_selling_when_stock_out) && $item->continue_selling_when_stock_out == 1 ? 'checked' : '' }}> continue_selling_when_stock_out) && $item->continue_selling_when_stock_out == 0 ? 'checked' : '' }}>

Available for Cash on Delivery

cash_on_delivery) && $item->cash_on_delivery == 1 ? 'checked' : '' }}> cash_on_delivery) && $item->cash_on_delivery == 0 ? 'checked' : '' }}>
Attributes

Images *

Image Disclaimer: File type must be a .jpg, .gif or .png smaller than 2MB and at least 800x1067 in 3:4 aspect ratio

@if(empty($item)) @else @php $jsonString = $item->image; $sanitizedString = str_replace('\/', '/', $jsonString); $images = json_decode($sanitizedString, true); @endphp @if(!empty($images) && is_array($images))
@foreach ($images as $image)
Product Image
@endforeach
@else

No images available.

@endif @endif

Video

Product Published

Product Published From

PREVIOUS
@endsection