Products

Manage bakery treats, prices, images, rich descriptions, and SEO metadata.

@if (session()->has('message'))
{{ session('message') }}
@endif
@forelse($products as $product) @empty @endforelse
Product Cost (Internal) Selling Price Profit/Unit Stock Status Actions
@if($product->primaryImage) {{ $product->name }} @else
🍪
@endif
{{ $product->name }} @if($product->is_featured) Featured @endif
{{ $product->category->name ?? 'Uncategorized' }}
Rs. {{ number_format($product->baking_lab_cost ?? 0, 2) }} @if($product->discount_price && $product->discount_price > 0 && $product->discount_price < $product->price) Rs. {{ number_format($product->discount_price, 2) }} Rs. {{ number_format($product->price, 2) }} @else Rs. {{ number_format($product->price, 2) }} @endif @php $effectivePrice = ($product->discount_price && $product->discount_price > 0 && $product->discount_price < $product->price) ? $product->discount_price : $product->price; @endphp Rs. {{ number_format($effectivePrice - ($product->baking_lab_cost ?? 0), 2) }} {{ $product->stock }} @if($product->status === 'available') Available @elseif($product->status === 'pre-order') Pre-Order @else Out of Stock @endif
No products found. Click "Add Product" to create one.
{{ $products->links() }}
@if($showModal)

{{ $productId ? 'Edit Product' : 'Add New Product' }}

{{ $productId ? 'Update product details, rich description, images and search SEO.' : 'Fill in the details below to publish a new bakery product.' }}

@error('name') {{ $message }} @enderror
@error('category_id') {{ $message }} @enderror
@error('status') {{ $message }} @enderror

Pricing & Inventory

@error('price') {{ $message }} @enderror
@error('baking_lab_cost') {{ $message }} @enderror
@error('discount_price') {{ $message }} @enderror
@error('stock') {{ $message }} @enderror

Use the rich TipTap editor below to format text, add bold highlights, bullet points, and headers.

@error('description') {{ $message }} @enderror

Upload a high-quality product photo. This will appear on product cards, menu listings, and product details.

Recommended: Square 800x800px | Max: 10MB

@error('image') {{ $message }} @enderror
Image Preview
@if ($image)
New Upload Preview
New Ready to Save
@elseif ($currentImage)
Current Product Image
Current
@else
🧁 No image uploaded yet Default bakery illustration will be used
@endif

Recommended length: 50-60 characters. If empty, the product name is automatically used.

@error('seo_title') {{ $message }} @enderror

Recommended length: 140-160 characters. Appears under the title in search engine results.

@error('seo_description') {{ $message }} @enderror
Google Search Preview
🧁
bakies.shop › product › {{ Str::slug($name ?: 'product-name') }}
{{ $seo_title ?: (($name ?: 'Product Name') . ' - Bakies Bakery') }}
{{ $seo_description ?: (strip_tags($description) ?: 'Handcrafted freshly baked treats from Bakies Bakery in Kathmandu, Nepal. Made with real butter and love.') }}
✨

Enable Visitor Customization for this Product

Allow buyers to write custom messages, choose card designs, or select box decorations before adding to cart.

@if($customization_enabled)
✍️
1. Custom Message / Cake Writing / Note

Visitor can write a custom greeting, name on the cake, or gift note.

@if($custom_message_enabled)
@endif
💌
2. Decorate Your Card (Greeting Card Selection)

Allow visitors to pick a handwritten greeting card theme/design.

@if($custom_card_enabled)

Separate options with commas. Each one will show as a clickable chip for the buyer.

@endif
🎀
3. Decorate Your Box (Gift Box & Ribbon Styling)

Allow customers to choose special gift packaging, satin ribbon colors, or box decor.

@if($custom_box_enabled)

Separate styles with commas. Visitors can select their favorite presentation style.

@endif
@else
🎁

Visitor customization is currently disabled for this product.

Toggle the master switch above to configure custom messages, cards, and box decorations.

@endif
@endif