@php $categoryOptions = collect($categories ?? []); $unitOptions = ['Piece', 'Each', 'Box', 'Pack', 'Bottle', 'Pair', 'Set']; @endphp

Create online product

Add medicines, clothing, bags, accessories, or any store item. Stock and price are created automatically for online checkout.

View store
@if ($errors->any())
{{ $errors->first() }}
@endif
@csrf

Product categories

Create reusable categories for medicine, clothing, bags, supplies, and more.

@csrf
@forelse ($managedCategories as $category)
@csrf @method('DELETE') {{ $category->name }}
@empty

No custom categories yet.

@endforelse

Manage store products

Edit display text, categories, primary photo, gallery photos, and storefront flags.

@forelse ($products as $product) @php $imageUrl = $product->image_path ? (Str::startsWith($product->image_path, ['http://', 'https://']) ? $product->image_path : asset($product->image_path)) : null; @endphp
@csrf @method('PUT')
@if ($imageUrl) {{ $product->brand_name }} @else @endif

{{ $product->brand_name }}

Stock {{ (int) $product->stock }} - {{ $product->sku ?: 'No SKU' }}

@if ($product->images->isNotEmpty())
@foreach ($product->images as $image)
@csrf @method('DELETE') {{ $image->alt_text ?: $product->brand_name }}
@endforeach
@endif
@empty

No products found. Add one above or create medicines and brands in Inventory.

@endforelse
{{ $products->links() }}