@extends('layout.default')
@section('title', $__t('Product groups'))
@section('activeNav', 'productgroups')
@section('viewJsName', 'productgroups')
@section('content')
|
{{ $__t('Name') }} |
{{ $__t('Description') }} |
{{ $__t('Product count') }} |
@include('components.userfields_thead', array(
'userfields' => $userfields
))
@foreach($productGroups as $productGroup)
|
{{ $productGroup->name }}
|
{{ $productGroup->description }}
|
{{ count(FindAllObjectsInArrayByPropertyValue($products, 'product_group_id', $productGroup->id)) }}
|
@include('components.userfields_tbody', array(
'userfields' => $userfields,
'userfieldValues' => FindAllObjectsInArrayByPropertyValue($userfieldValues, 'object_id', $productGroup->id)
))
@endforeach
@stop