@extends('layouts.admin') @section('title', 'Product Variants - ' . $product->name . ' - ' . $vendor->vendor_name) @section('content')
{{ $product->short_description }}
| Variant Details | SKU | Price | Stock | Status | Actions |
|---|---|---|---|---|---|
|
@if($variant->variant_name)
{{ $variant->variant_name }}
@endif
@if($variant->color)
{{ $variant->color }}
@endif
@if($variant->material)
{{ $variant->material }}
@endif
@if($variant->style)
{{ $variant->style }}
@endif
@if($variant->is_default)
Default
@endif
|
@if($variant->sku)
{{ $variant->sku }}
@else
-
@endif
|
@if($variant->price)
@if($variant->sale_price)
د.إ{{ number_format($variant->sale_price, 2) }}
د.إ{{ number_format($variant->price, 2) }} @else د.إ{{ number_format($variant->price, 2) }} @endif @else Base price @endif |
{{ $variant->stock_quantity }}
{{ ucwords(str_replace('_', ' ', $variant->stock_status)) }} |
is_active ? 'checked' : '' }}
onchange="toggleVariantStatus({{ $variant->id }})">
|
|
Create variants to offer different options like size, color, or material for this product.