@forelse ($products as $product)
| {{ $product['series_category'] }} |
|
@php
$spec = [];
if (!empty($product->diameter)) $spec[] = '直徑:' . $product->diameter;
if (!empty($product->length)) $spec[] = '長度:' . $product->length;
if (!empty($product->high)) $spec[] = '高度:' . $product->high;
if (!empty($product->cuff)) $spec[] = 'cuff:' . $product->cuff;
if (!empty($product->angle)) $spec[] = 'angle:' . $product->angle . '°';
if (!empty($product->type)) $spec[] = 'type:' . $product->type;
if (!empty($product->post_h)) $spec[] = 'PostH:' . $product->post_h;
if (!empty($product->thirdCategory)) $spec[] = 'thirdCategory:' . $product->thirdCategory;
@endphp
@if (empty($spec))
無規格
@else
{!! implode(' ', $spec) !!}
@endif
|
{{ $product['product_id'] }} |
{{ $product['product_name'] }} |
|
|
@empty
| 無搜尋到任何產品 |
@endforelse