@extends('backend.layouts.app') @section('title', $data['p_heading']) @section('content')
{{ $data['p_description'] }}
ID | Image | Name | Category | SKU | Type | Visibility | Price | Status | Actions |
---|---|---|---|---|---|---|---|---|---|
{{ $product->id }}
|
{{ $product->name }} |
@foreach($product->categories as $category)
• {{ $category->name }} @endforeach |
{{ $product->sku }} |
@if($product->type == 'simple')
Simple
@elseif($product->type == 'child')
Sub Product
@else
Configurable {{ \App\Models\Product::getSubItemsCount($product->id) }} Sub Items @endif |
@if($product->type == 'child') Not Visible Individually @else {{ \App\Models\Product::$visibility[$product->visibility] }} @endif |
@if($product->type == 'simple' || $product->type == 'child')
$ {{ number_format($product->price_catalog, 2) }}
@else
Multiple {{ \App\Models\Product::getSubItemsPriceRange($product->id) }} @endif |
@if($product->status == 'Y') Active @else In-active @endif | @if($product->type == 'child') @else @endif |