@extends('adminlte::page') @section('title', 'Productos') @section('css') @endsection @section('content_header')
| Nombre | Modelo | Inventario | Precio | Categorías | Marca | Detalles | Imagen | Borrador | |
|---|---|---|---|---|---|---|---|---|---|
| {{ $product->display_name }} | {{ $product->model }} |
@if ($product->inventory->stock)
{{ $product->inventory->status->display_name }}({{ $product->inventory->stock }}) @elseSin existencias @endif @if ($product->inventory->reserve)*Se puede reservar @endif |
{{-- Check this after, remember the offerts now is in another table --}}
{{-- floor es redondear --}}
{{-- Nota: Si se llega a dar formato el codigo, deben formatearlo asi
@if (floor($product->price) == $product->price).00 @endif
Si se deja diferente se vera un espacio entre los ceros y el precio, se ve feo
--}}
@if ($product->offert)
${{ $product->offert->discount_price }}@if (floor($product->offert->discount_price) == $product->offert->discount_price)
.00
@endif
${{ $product->price }}@if (floor($product->price) == $product->price) .00 @endif @else | ${{ $product->price }}@if (floor($product->price) == $product->price) .00 @endif @endif |
@if ($product->categories->count() > 0 || $product->subcategories->count() > 0)
@forelse ($product->categories as $category)
{{ $category->display_name }}
@empty
@endforelse
@forelse ($product->subcategories as $subcategory)
{{ $subcategory->display_name }}
@empty
@endforelse
@else
-- @endif |
@if ($product->brand)
{{ $product->brand->display_name }}
@else
Asigna una marca para mostrar el producto @endif |
{{-- Cambios por detalles de producto --}}
@if ($product->attributes->count() > 0)
Ver mas detalles del producto
@else
Sin valores asignado en este producto @endif |
@if ($product->images->count() > 0)
Agrega imagenes al producto para mostrarlo @endif |
@if ($product->draft)
@if ($product->product_file == null && $product->iam_type_id == 2)
Necesitas colocar un archivo a este producto para mostrarlo (digital) @endif @endif |
|
Actualizado por ultima vez: {{ $product->updated_at }}
{{-- Change to the default details product page in the frontend --}}
@if (!$product->draft)
Ver en la
tienda
@endif
Modificar producto
Borrar
producto
@if ($product->images->count() == 0)
Agregar
imagenes
@else
Modificar
imagenes
Borrar imagenes
@endif
Modificar
inventario
@if (!$product->offert)
Hacer un
descuento
@endif
Relacionar
productos
@if ($product->draft)
Publicar Producto
@else
Cambiar a borrador
@endif
|
|||||||||
| Sin productos, agrege una nueva | |||||||||